language fix
This commit is contained in:
parent
76ed900bc9
commit
f358796388
@ -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,
|
||||||
|
@ -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,
|
||||||
|
@ -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' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user