1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 16:31:33 +02:00

Merge fix for client statement

This commit is contained in:
Hillel Coren 2017-02-06 12:55:46 +02:00
parent 4b4f7fdedb
commit 9b58a62b69
3 changed files with 4 additions and 3 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

@ -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;