Empty foreign amount should not be a problem.

This commit is contained in:
James Cole
2019-10-24 10:14:08 +02:00
parent a39bdc9cb0
commit b8c8aabbf4
2 changed files with 4 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ class TransactionStoreRequest extends Request
// amount
'transactions.*.amount' => 'required|numeric|more:0',
'transactions.*.foreign_amount' => 'numeric|more:0',
'transactions.*.foreign_amount' => 'numeric',
// description
'transactions.*.description' => 'nullable|between:1,1000',