mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-07 06:33:57 -06:00
New rule for account number. #107
This commit is contained in:
parent
d473455680
commit
a886e8087d
@ -48,6 +48,7 @@ class AccountFormRequest extends Request
|
|||||||
'iban' => 'iban',
|
'iban' => 'iban',
|
||||||
'virtualBalance' => 'numeric',
|
'virtualBalance' => 'numeric',
|
||||||
'openingBalanceDate' => 'date',
|
'openingBalanceDate' => 'date',
|
||||||
|
'accountNumber' => 'between:1,255|uniqueAccountNumberForUser',
|
||||||
'accountRole' => 'in:' . $accountRoles,
|
'accountRole' => 'in:' . $accountRoles,
|
||||||
'active' => 'boolean',
|
'active' => 'boolean',
|
||||||
'ccType' => 'in:' . $ccPaymentTypes,
|
'ccType' => 'in:' . $ccPaymentTypes,
|
||||||
|
Loading…
Reference in New Issue
Block a user