1
0
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:
Hillel Coren 2016-02-03 22:19:15 +02:00
parent cc49415a78
commit 25b8c54355
4 changed files with 6 additions and 5 deletions

View File

@ -646,6 +646,7 @@ class Account extends Eloquent
'quote_number',
'total',
'invoice_issued_to',
'quote_issued_to',
//'date',
'rate',
'hours',

View File

@ -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) {

View File

@ -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) {

View File

@ -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',
);