mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Validation rule for recurring frequency
This commit is contained in:
parent
e39ce7491b
commit
d83073ad91
@ -53,7 +53,7 @@ class StoreRecurringInvoiceRequest extends Request
|
||||
|
||||
$rules['invitations.*.client_contact_id'] = 'distinct';
|
||||
|
||||
$rules['frequency_id'] = 'required|integer';
|
||||
$rules['frequency_id'] = 'required|integer|digits_between:1,12';
|
||||
|
||||
$rules['number'] = new UniqueRecurringInvoiceNumberRule($this->all());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user