mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
This commit is contained in:
@@ -79,12 +79,12 @@ class StoreRequest extends FormRequest
|
|||||||
'currency_id' => 'numeric|exists:transaction_currencies,id',
|
'currency_id' => 'numeric|exists:transaction_currencies,id',
|
||||||
'currency_code' => 'min:3|max:51|exists:transaction_currencies,code',
|
'currency_code' => 'min:3|max:51|exists:transaction_currencies,code',
|
||||||
'date' => 'date|required',
|
'date' => 'date|required',
|
||||||
'end_date' => 'date|after:date',
|
'end_date' => 'nullable|date|after:date',
|
||||||
'extension_date' => 'date|after:date',
|
'extension_date' => 'nullable|date|after:date',
|
||||||
'repeat_freq' => 'in:weekly,monthly,quarterly,half-year,yearly|required',
|
'repeat_freq' => 'in:weekly,monthly,quarterly,half-year,yearly|required',
|
||||||
'skip' => 'min:0|max:31|numeric',
|
'skip' => 'min:0|max:31|numeric',
|
||||||
'active' => [new IsBoolean()],
|
'active' => [new IsBoolean()],
|
||||||
'notes' => 'min:1|max:32768',
|
'notes' => 'nullable|min:1|max:32768',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user