1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Refactor for bank transactions

This commit is contained in:
David Bomba 2022-09-23 12:47:49 +10:00
parent 5b9253124e
commit 7ae5413b5a

View File

@ -33,7 +33,8 @@ class UpdateBankTransactionRequest extends Request
/* Ensure we have a client name, and that all emails are unique*/
$rules = [
'date' => 'bail|required|date',
'description', 'bail|required|string'
'description' => 'bail|required|string',
'amount' => 'string|sometimes',
];
if (isset($this->currency_id))