mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Corrected invoice save error
This commit is contained in:
parent
a44bea78b2
commit
6a7dcc21a2
@ -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…
Reference in New Issue
Block a user