mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
This fixes #559
This commit is contained in:
@@ -77,11 +77,11 @@ class AccountFormRequest extends Request
|
||||
return [
|
||||
'id' => $idRule,
|
||||
'name' => $nameRule,
|
||||
'openingBalance' => 'numeric',
|
||||
'openingBalance' => 'numeric|required_with:openingBalanceDate',
|
||||
'openingBalanceDate' => 'date|required_with:openingBalance',
|
||||
'iban' => 'iban',
|
||||
'BIC' => 'bic',
|
||||
'virtualBalance' => 'numeric',
|
||||
'openingBalanceDate' => 'date',
|
||||
'currency_id' => 'exists:transaction_currencies,id',
|
||||
'accountNumber' => 'between:1,255|uniqueAccountNumberForUser',
|
||||
'accountRole' => 'in:' . $accountRoles,
|
||||
|
Reference in New Issue
Block a user