Expand API validation.

This commit is contained in:
James Cole
2018-02-20 18:03:02 +01:00
parent 9d457787f7
commit f16760d607
4 changed files with 594 additions and 354 deletions

View File

@@ -29,6 +29,7 @@ return [
'file_already_attached' => 'Uploaded file ":name" is already attached to this object.',
'file_attached' => 'Succesfully uploaded file ":name".',
'must_exist' => 'The ID in field :attribute does not exist in the database.',
'all_accounts_equal' => 'All accounts in this field must be equal.',
'belongs_user' => 'This value is invalid for this field.',
'at_least_one_transaction' => 'Need at least one transaction.',
'require_currency_info' => 'The content of this field is invalid without currency information.',