language fix

This commit is contained in:
denisdulici 2018-03-21 16:21:51 +03:00
parent 76ed900bc9
commit f358796388
3 changed files with 4 additions and 4 deletions

View File

@ -536,7 +536,7 @@ class Bills extends Controller
} }
if ($amount > $total_amount) { if ($amount > $total_amount) {
$message = trans('messages.error.payment_add'); $message = trans('messages.error.over_payment');
return response()->json([ return response()->json([
'success' => false, 'success' => false,

View File

@ -669,7 +669,7 @@ class Invoices extends Controller
} }
if ($amount > $total_amount) { if ($amount > $total_amount) {
$message = trans('messages.error.payment_add'); $message = trans('messages.error.over_payment');
return response()->json([ return response()->json([
'success' => false, 'success' => false,

View File

@ -10,9 +10,9 @@ return [
'imported' => ':type imported!', 'imported' => ':type imported!',
], ],
'error' => [ 'error' => [
'payment_add' => 'Error: You can not add payment! You should check add amount.', 'over_payment' => 'Error: Payment not added! Amount passes the total.',
'not_user_company' => 'Error: You are not allowed to manage this company!', 'not_user_company' => 'Error: You are not allowed to manage this company!',
'customer' => 'Error: You can not created user! :name use this email address.', 'customer' => 'Error: User not created! :name already uses this email address.',
'no_file' => 'Error: No file selected!', 'no_file' => 'Error: No file selected!',
], ],
'warning' => [ 'warning' => [