1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-18 23:42:25 +02:00

Fix for delivery note label

This commit is contained in:
Hillel Coren 2018-03-16 11:31:15 +02:00
parent f80687d0a5
commit 92b5f782b2
3 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -303,6 +303,8 @@ NINJA.decodeJavascript = function(invoice, javascript)
} else if (field == 'invoice_to') {
field = 'statement_to';
}
} else if (invoice.is_delivery_note) {
field = 'delivery_note';
} else if (invoice.balance_amount < 0) {
if (field == 'your_invoice') {
field = 'your_credit';