mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Corrected invoice save error
This commit is contained in:
parent
a44bea78b2
commit
6a7dcc21a2
@ -2138,7 +2138,7 @@ $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',
|
||||
|
@ -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…
x
Reference in New Issue
Block a user