mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
notes and terms added
This commit is contained in:
parent
28c057ccd9
commit
3d96f51790
@ -33347,6 +33347,20 @@ function GetPdfMake(invoice, javascript, callback) {
|
||||
|
||||
return;
|
||||
}
|
||||
function notesAndTerms(invoice)
|
||||
{
|
||||
var text = [];
|
||||
if (invoice.public_notes) {
|
||||
text.push(invoice.public_notes);
|
||||
}
|
||||
|
||||
if (invoice.terms) {
|
||||
text.push({text:invoiceLabels.terms, style:'bold'});
|
||||
text.push(invoice.terms);
|
||||
}
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
function invoiceLines(invoice) {
|
||||
var grid =
|
||||
|
@ -6,6 +6,20 @@ function GetPdfMake(invoice, javascript, callback) {
|
||||
|
||||
return;
|
||||
}
|
||||
function notesAndTerms(invoice)
|
||||
{
|
||||
var text = [];
|
||||
if (invoice.public_notes) {
|
||||
text.push(invoice.public_notes);
|
||||
}
|
||||
|
||||
if (invoice.terms) {
|
||||
text.push({text:invoiceLabels.terms, style:'bold'});
|
||||
text.push(invoice.terms);
|
||||
}
|
||||
|
||||
return text;
|
||||
}
|
||||
|
||||
function invoiceLines(invoice) {
|
||||
var grid =
|
||||
|
@ -89,7 +89,15 @@ var dd = {
|
||||
return '#D8D8D8';
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
{
|
||||
columns: [
|
||||
notesAndTerms(invoice),
|
||||
{
|
||||
text: ""
|
||||
}
|
||||
]
|
||||
},
|
||||
],
|
||||
defaultStyle: {
|
||||
font: 'sans'
|
||||
|
Loading…
x
Reference in New Issue
Block a user