Corrected invoice save error
This commit is contained in:
parent
a44bea78b2
commit
6a7dcc21a2
2 changed files with 3 additions and 3 deletions
|
|
@ -2138,14 +2138,14 @@ $LANG = array(
|
|||
'new_category' => 'New Category',
|
||||
'restore_product' => 'Restore Product',
|
||||
'blank' => 'Blank',
|
||||
'invoice_error' => 'Please make sure to select a client and correct any errors',
|
||||
'invoice_save_error' => 'There was an error saving your invoice',
|
||||
'enable_recurring' => 'Enable Recurring',
|
||||
'disable_recurring' => 'Disable Recurring',
|
||||
'text' => 'Text',
|
||||
'expense_will_create' => 'expense will be created',
|
||||
'expenses_will_create' => 'expenses will be created',
|
||||
'created_expenses' => 'Successfully created :count expense(s)',
|
||||
|
||||
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
|
|
|||
|
|
@ -1368,7 +1368,7 @@
|
|||
}).fail(function(data) {
|
||||
$('#saveButton, #emailButton').attr('disabled', false);
|
||||
var error = firstJSONError(data.responseJSON) || data.statusText;
|
||||
swal("{!! trans('texts.invoice_error') !!}", error);
|
||||
swal("{!! trans('texts.invoice_save_error') !!}", error);
|
||||
});
|
||||
return false;
|
||||
@else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue