footer added
This commit is contained in:
parent
8921eb0e9b
commit
3da43758c4
3 changed files with 18 additions and 77 deletions
File diff suppressed because one or more lines are too long
|
|
@ -89,7 +89,7 @@ var dd = {
|
|||
return '#D8D8D8';
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
columns: [
|
||||
notesAndTerms(invoice),
|
||||
|
|
@ -99,9 +99,19 @@ var dd = {
|
|||
]
|
||||
},
|
||||
],
|
||||
footer:function(){
|
||||
return invoice.invoice_footer?invoice.invoice_footer:"";
|
||||
|
||||
footer: function(){
|
||||
f = [{ text:invoice.invoice_footer?invoice.invoice_footer:"", margin: [72, 0]}]
|
||||
if (!invoice.is_pro && logoImages.imageLogo1) {
|
||||
f.push({
|
||||
image: logoImages.imageLogo1,
|
||||
width: 150,
|
||||
margin: [72,0]
|
||||
});
|
||||
}
|
||||
return f;
|
||||
},
|
||||
|
||||
defaultStyle: {
|
||||
font: 'sans'
|
||||
},
|
||||
|
|
@ -126,6 +136,6 @@ var dd = {
|
|||
lineTotal: {
|
||||
alignment: 'right'
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
pageMargins: [72, 40, 40, 80]
|
||||
};
|
||||
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue