From 62509f7c1848c0dce48972d9c83846049ac4452f Mon Sep 17 00:00:00 2001 From: James Cole Date: Sat, 5 Oct 2024 09:41:07 +0200 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/9147 --- app/Api/V1/Requests/Models/Bill/StoreRequest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Api/V1/Requests/Models/Bill/StoreRequest.php b/app/Api/V1/Requests/Models/Bill/StoreRequest.php index 70d48c2a2e..7884065e97 100644 --- a/app/Api/V1/Requests/Models/Bill/StoreRequest.php +++ b/app/Api/V1/Requests/Models/Bill/StoreRequest.php @@ -79,12 +79,12 @@ class StoreRequest extends FormRequest 'currency_id' => 'numeric|exists:transaction_currencies,id', 'currency_code' => 'min:3|max:51|exists:transaction_currencies,code', 'date' => 'date|required', - 'end_date' => 'date|after:date', - 'extension_date' => 'date|after:date', + 'end_date' => 'nullable|date|after:date', + 'extension_date' => 'nullable|date|after:date', 'repeat_freq' => 'in:weekly,monthly,quarterly,half-year,yearly|required', 'skip' => 'min:0|max:31|numeric', 'active' => [new IsBoolean()], - 'notes' => 'min:1|max:32768', + 'notes' => 'nullable|min:1|max:32768', ]; }