mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixed 'your invoice' on quote
This commit is contained in:
parent
64fec3b502
commit
255b819175
@ -31755,6 +31755,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';
|
||||
}
|
||||
var label = invoiceLabels[field];
|
||||
if (match.indexOf('UC') >= 0) {
|
||||
|
@ -168,8 +168,10 @@ 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';
|
||||
}
|
||||
var label = invoiceLabels[field];
|
||||
var label = invoiceLabels[field];
|
||||
if (match.indexOf('UC') >= 0) {
|
||||
label = label.toUpperCase();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user