mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-22 06:10:56 -04:00
Fix for embed documents
This commit is contained in:
parent
06485f1cb3
commit
3e4528e340
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -486,10 +486,11 @@ NINJA.invoiceLines = function(invoice) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NINJA.invoiceDocuments = function(invoice) {
|
NINJA.invoiceDocuments = function(invoice) {
|
||||||
if (!invoice.account.invoice_embed_documents) {
|
if (invoice.account.invoice_embed_documents != '1') {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var j = 0;
|
||||||
var stack = [];
|
var stack = [];
|
||||||
var stackItem = null;
|
var stackItem = null;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user