mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
footer added
This commit is contained in:
parent
8921eb0e9b
commit
3da43758c4
File diff suppressed because one or more lines are too long
@ -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: {
|
defaultStyle: {
|
||||||
font: 'sans'
|
font: 'sans'
|
||||||
},
|
},
|
||||||
@ -126,6 +136,6 @@ var dd = {
|
|||||||
lineTotal: {
|
lineTotal: {
|
||||||
alignment: 'right'
|
alignment: 'right'
|
||||||
}
|
}
|
||||||
|
},
|
||||||
}
|
pageMargins: [72, 40, 40, 80]
|
||||||
};
|
};
|
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user