Increased font size on download pdf for Invoice

This commit is contained in:
johnnyq
2021-04-05 20:45:00 -04:00
parent 3689ba0f48
commit db5f459692

View File

@@ -581,7 +581,7 @@ include("footer.php");
{ {
text:'<?php echo $invoice_date ?>', text:'<?php echo $invoice_date ?>',
style:'invoiceDateValue', style:'invoiceDateValue',
width: 50 width: 80
} }
] ]
}, },
@@ -595,7 +595,7 @@ include("footer.php");
{ {
text:'<?php echo $invoice_due ?>', text:'<?php echo $invoice_due ?>',
style:'invoiceDateValue', style:'invoiceDateValue',
width: 50 width: 80
} }
] ]
}, },
@@ -774,87 +774,87 @@ include("footer.php");
styles: { styles: {
// Document Footer // Document Footer
documentFooterCenter: { documentFooterCenter: {
fontSize: 8, fontSize: 10,
margin: [5,5,5,5], margin: [5,5,5,5],
alignment:'center' alignment:'center'
}, },
// Invoice Title // Invoice Title
invoiceTitle: { invoiceTitle: {
fontSize: 16, fontSize: 18,
bold: true, bold: true,
alignment:'right', alignment:'right',
margin:[0,0,0,3] margin:[0,0,0,3]
}, },
// Invoice Number // Invoice Number
invoiceNumber: { invoiceNumber: {
fontSize: 12, fontSize: 14,
alignment:'right' alignment:'right'
}, },
// Billing Headers // Billing Headers
invoiceBillingTitle: { invoiceBillingTitle: {
fontSize: 12, fontSize: 14,
bold: true, bold: true,
alignment:'left', alignment:'left',
margin:[0,20,0,5] margin:[0,20,0,5]
}, },
invoiceBillingTitleClient: { invoiceBillingTitleClient: {
fontSize: 12, fontSize: 14,
bold: true, bold: true,
alignment:'right', alignment:'right',
margin:[0,20,0,5] margin:[0,20,0,5]
}, },
// Billing Details // Billing Details
invoiceBillingAddress: { invoiceBillingAddress: {
fontSize: 8, fontSize: 10,
lineHeight: 1.2 lineHeight: 1.2
}, },
invoiceBillingAddressClient: { invoiceBillingAddressClient: {
fontSize: 8, fontSize: 10,
lineHeight: 1.2, lineHeight: 1.2,
alignment:'right', alignment:'right',
margin:[0,0,0,30] margin:[0,0,0,30]
}, },
// Invoice Dates // Invoice Dates
invoiceDateTitle: { invoiceDateTitle: {
fontSize: 8, fontSize: 10,
alignment:'right', alignment:'right',
margin:[0,0,0,3] margin:[0,0,0,3]
}, },
invoiceDateValue: { invoiceDateValue: {
fontSize: 8, fontSize: 10,
alignment:'right', alignment:'right',
}, },
// Items Header // Items Header
itemsHeader: { itemsHeader: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
bold: true bold: true
}, },
// Item Title // Item Title
itemTitle: { itemTitle: {
fontSize: 8, fontSize: 10,
bold: true, bold: true,
margin: [0,5,0,3] margin: [0,5,0,3]
}, },
itemDescription: { itemDescription: {
italics: true, italics: true,
fontSize: 7, fontSize: 9,
lineHeight: 1.1, lineHeight: 1.1,
margin: [0,3,0,5] margin: [0,3,0,5]
}, },
itemQty: { itemQty: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
alignment: 'center', alignment: 'center',
}, },
itemNumber: { itemNumber: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
alignment: 'center', alignment: 'center',
}, },
itemTotal: { itemTotal: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
bold: true, bold: true,
alignment: 'center', alignment: 'center',
@@ -862,35 +862,35 @@ include("footer.php");
// Items Footer (Subtotal, Total, Tax, etc) // Items Footer (Subtotal, Total, Tax, etc)
itemsFooterSubTitle: { itemsFooterSubTitle: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
alignment:'right', alignment:'right',
}, },
itemsFooterSubValue: { itemsFooterSubValue: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
bold: true, bold: true,
alignment:'center', alignment:'center',
}, },
itemsFooterTotalTitle: { itemsFooterTotalTitle: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
bold: true, bold: true,
alignment:'right', alignment:'right',
}, },
itemsFooterTotalValue: { itemsFooterTotalValue: {
fontSize: 8, fontSize: 10,
margin: [0,5,0,5], margin: [0,5,0,5],
bold: true, bold: true,
alignment:'center', alignment:'center',
}, },
notesTitle: { notesTitle: {
fontSize: 8, fontSize: 10,
bold: true, bold: true,
margin: [0,50,0,3], margin: [0,50,0,3],
}, },
notesText: { notesText: {
fontSize: 8 fontSize: 10
}, },
center: { center: {
alignment:'center', alignment:'center',