mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Reworked the PDF Invoice / Quote footer so it can fit more than 2 lines of text, also fixed quote footer not displaying under guest view quote
This commit is contained in:
19
invoice.php
19
invoice.php
@@ -527,14 +527,6 @@ var docDefinition = {
|
||||
title: '<?php echo "$company_name - Invoice"; ?>',
|
||||
author: '<?php echo $company_name; ?>'
|
||||
},
|
||||
footer: {
|
||||
columns: [
|
||||
{
|
||||
text: <?php echo json_encode($config_invoice_footer); ?>,
|
||||
style: 'documentFooterCenter'
|
||||
},
|
||||
]
|
||||
},
|
||||
|
||||
//watermark: {text: '<?php echo $invoice_status; ?>', color: 'lightgrey', opacity: 0.3, bold: true, italics: false},
|
||||
|
||||
@@ -806,14 +798,19 @@ var docDefinition = {
|
||||
]
|
||||
}, // table
|
||||
layout: 'lightHorizontalLines'
|
||||
}
|
||||
},
|
||||
// TERMS / FOOTER
|
||||
{
|
||||
text: <?php echo json_encode("$config_invoice_footer"); ?>,
|
||||
style: 'documentFooterCenter'
|
||||
}
|
||||
], //End Content,
|
||||
styles: {
|
||||
// Document Footer
|
||||
documentFooterCenter: {
|
||||
fontSize: 9,
|
||||
margin: [10,10,10,10],
|
||||
alignment:'center'
|
||||
margin: [10,50,10,10],
|
||||
alignment:'center',
|
||||
},
|
||||
// Invoice Title
|
||||
invoiceTitle: {
|
||||
|
||||
Reference in New Issue
Block a user