mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Support 'Tax Invoice\Quote' PDF labels
This commit is contained in:
parent
451faaea26
commit
b34c5724de
@ -207,6 +207,8 @@ trait PresentsInvoice
|
|||||||
'phone',
|
'phone',
|
||||||
'blank',
|
'blank',
|
||||||
'adjustment',
|
'adjustment',
|
||||||
|
'tax_invoice',
|
||||||
|
'tax_quote',
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($fields as $field) {
|
foreach ($fields as $field) {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -177,6 +177,7 @@ NINJA.decodeJavascript = function(invoice, javascript)
|
|||||||
'invoiceNumber': invoice.invoice_number || ' ',
|
'invoiceNumber': invoice.invoice_number || ' ',
|
||||||
'entityType': invoice.is_quote ? invoiceLabels.quote : invoiceLabels.invoice,
|
'entityType': invoice.is_quote ? invoiceLabels.quote : invoiceLabels.invoice,
|
||||||
'entityTypeUC': (invoice.is_quote ? invoiceLabels.quote : invoiceLabels.invoice).toUpperCase(),
|
'entityTypeUC': (invoice.is_quote ? invoiceLabels.quote : invoiceLabels.invoice).toUpperCase(),
|
||||||
|
'entityTaxType': invoice.is_quote ? invoiceLabels.tax_quote : invoiceLabels.tax_invoice,
|
||||||
'fontSize': NINJA.fontSize,
|
'fontSize': NINJA.fontSize,
|
||||||
'fontSizeLarger': NINJA.fontSize + 1,
|
'fontSizeLarger': NINJA.fontSize + 1,
|
||||||
'fontSizeLargest': NINJA.fontSize + 2,
|
'fontSizeLargest': NINJA.fontSize + 2,
|
||||||
|
@ -2308,6 +2308,8 @@ $LANG = array(
|
|||||||
'notes_reminder3' => 'Third Reminder',
|
'notes_reminder3' => 'Third Reminder',
|
||||||
'bcc_email' => 'BCC Email',
|
'bcc_email' => 'BCC Email',
|
||||||
'bcc_email_help' => 'All emails sent to your clients will also be sent to this address.',
|
'bcc_email_help' => 'All emails sent to your clients will also be sent to this address.',
|
||||||
|
'tax_quote' => 'Tax Quote',
|
||||||
|
'tax_invoice' => 'Tax Invoice',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user