diff --git a/guest_view_invoice.php b/guest_view_invoice.php index 47e5bd50..3d8ad279 100644 --- a/guest_view_invoice.php +++ b/guest_view_invoice.php @@ -297,14 +297,6 @@ var docDefinition = { title: '', author: '' }, - footer: { - columns: [ - { - text: , - style: 'documentFooterCenter' - }, - ] - }, //watermark: {text: '', color: 'lightgrey', opacity: 0.3, bold: true, italics: false}, @@ -576,13 +568,18 @@ var docDefinition = { ] }, // table layout: 'lightHorizontalLines' - } + }, + // TERMS / FOOTER + { + text: , + style: 'documentFooterCenter' + } ], //End Content, styles: { // Document Footer documentFooterCenter: { fontSize: 9, - margin: [10,10,10,10], + margin: [10,50,10,10], alignment:'center' }, // Invoice Title diff --git a/guest_view_quote.php b/guest_view_quote.php index 50b690e7..8af1f9ba 100644 --- a/guest_view_quote.php +++ b/guest_view_quote.php @@ -58,7 +58,7 @@ if(isset($_GET['quote_id'], $_GET['url_key'])){ if(!empty($company_logo)){ $company_logo_base64 = base64_encode(file_get_contents("uploads/settings/$company_id/$company_logo")); } - $quote_footer = $row['quote_footer']; + $config_quote_footer = $row['config_quote_footer']; $ip = get_ip(); $os = get_os(); @@ -252,14 +252,6 @@ var docDefinition = { title: '', author: '' }, - footer: { - columns: [ - { - text: , - style: 'documentFooterCenter' - }, - ] - }, //watermark: {text: '', color: 'lightgrey', opacity: 0.3, bold: true, italics: false}, @@ -497,13 +489,18 @@ var docDefinition = { ] }, // table layout: 'lightHorizontalLines' - } + }, + // TERMS / FOOTER + { + text: , + style: 'documentFooterCenter' + } ], //End Content, styles: { // Document Footer documentFooterCenter: { fontSize: 9, - margin: [10,10,10,10], + margin: [10,50,10,10], alignment:'center' }, // Invoice Title diff --git a/invoice.php b/invoice.php index 4952fc55..13b3fa78 100644 --- a/invoice.php +++ b/invoice.php @@ -527,14 +527,6 @@ var docDefinition = { title: '', author: '' }, - footer: { - columns: [ - { - text: , - style: 'documentFooterCenter' - }, - ] - }, //watermark: {text: '', color: 'lightgrey', opacity: 0.3, bold: true, italics: false}, @@ -806,14 +798,19 @@ var docDefinition = { ] }, // table layout: 'lightHorizontalLines' - } + }, + // TERMS / FOOTER + { + text: , + 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: { diff --git a/quote.php b/quote.php index 6a199bbb..5219922e 100644 --- a/quote.php +++ b/quote.php @@ -434,14 +434,6 @@ var docDefinition = { title: '', author: '' }, - footer: { - columns: [ - { - text: , - style: 'documentFooterCenter' - }, - ] - }, //watermark: {text: '', color: 'lightgrey', opacity: 0.3, bold: true, italics: false}, @@ -679,13 +671,18 @@ var docDefinition = { ] }, // table layout: 'lightHorizontalLines' - } + }, + // TERMS / FOOTER + { + text: , + style: 'documentFooterCenter' + } ], //End Content, styles: { // Document Footer documentFooterCenter: { fontSize: 9, - margin: [10,10,10,10], + margin: [10,50,10,10], alignment:'center' }, // Invoice Title