mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Bug: fix 'Invoice issued to' in business design for quote
This commit is contained in:
parent
cc49415a78
commit
25b8c54355
@ -646,6 +646,7 @@ class Account extends Eloquent
|
||||
'quote_number',
|
||||
'total',
|
||||
'invoice_issued_to',
|
||||
'quote_issued_to',
|
||||
//'date',
|
||||
'rate',
|
||||
'hours',
|
||||
|
@ -31100,8 +31100,8 @@ NINJA.decodeJavascript = function(invoice, javascript)
|
||||
if (match.indexOf('?') < 0 || value) {
|
||||
if (invoice.partial && field == 'balance_due') {
|
||||
field = 'amount_due';
|
||||
} else if (invoice.is_quote && field == 'your_invoice') {
|
||||
field = 'your_quote';
|
||||
} else if (invoice.is_quote) {
|
||||
field = field.replace('invoice', 'quote');
|
||||
}
|
||||
var label = invoiceLabels[field];
|
||||
if (match.indexOf('UC') >= 0) {
|
||||
|
@ -191,8 +191,8 @@ NINJA.decodeJavascript = function(invoice, javascript)
|
||||
if (match.indexOf('?') < 0 || value) {
|
||||
if (invoice.partial && field == 'balance_due') {
|
||||
field = 'amount_due';
|
||||
} else if (invoice.is_quote && field == 'your_invoice') {
|
||||
field = 'your_quote';
|
||||
} else if (invoice.is_quote) {
|
||||
field = field.replace('invoice', 'quote');
|
||||
}
|
||||
var label = invoiceLabels[field];
|
||||
if (match.indexOf('UC') >= 0) {
|
||||
|
@ -1142,6 +1142,6 @@ return array(
|
||||
'all_pages_footer' => 'Show footer on',
|
||||
'invoice_currency' => 'Invoice Currency',
|
||||
'enable_https' => 'We strongly recommend using HTTPS to accept credit card details online.',
|
||||
|
||||
'quote_issued_to' => 'Quote issued to',
|
||||
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user