mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix issue with hipster design with quotes
This commit is contained in:
parent
cb44f8e9a6
commit
73781e88d5
@ -184,6 +184,7 @@ trait PresentsInvoice
|
||||
'quote_to',
|
||||
'details',
|
||||
'invoice_no',
|
||||
'quote_no',
|
||||
'valid_until',
|
||||
'client_name',
|
||||
'address1',
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -210,7 +210,11 @@ NINJA.decodeJavascript = function(invoice, javascript)
|
||||
if (invoice.partial > 0 && field == 'balance_due') {
|
||||
field = 'partial_due';
|
||||
} else if (invoice.is_quote) {
|
||||
field = field.replace('invoice', 'quote');
|
||||
if (field == 'due_date') {
|
||||
field = 'valid_until';
|
||||
} else {
|
||||
field = field.replace('invoice', 'quote');
|
||||
}
|
||||
}
|
||||
var label = invoiceLabels[field];
|
||||
if (match.indexOf('UC') >= 0) {
|
||||
|
@ -643,6 +643,7 @@ $LANG = array(
|
||||
'custom' => 'Custom',
|
||||
'invoice_to' => 'Invoice to',
|
||||
'invoice_no' => 'Invoice No.',
|
||||
'quote_no' => 'Quote No.',
|
||||
'recent_payments' => 'Recent Payments',
|
||||
'outstanding' => 'Outstanding',
|
||||
'manage_companies' => 'Manage Companies',
|
||||
|
Loading…
Reference in New Issue
Block a user