diff --git a/guest_view_quote.php b/guest_view_quote.php
index c8df34da..d1502026 100644
--- a/guest_view_quote.php
+++ b/guest_view_quote.php
@@ -154,7 +154,7 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
Date |
|
-
+
| Expire |
|
@@ -233,21 +233,16 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
- 0) {
- ?>
-
- | Discount |
- |
-
-
| Subtotal |
|
+ 0) { ?>
+
+ | Discount |
+ |
+
+
0) { ?>
| Tax |
@@ -378,11 +373,11 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
{},
{
text: 'Expire',
- style: 'invoiceDateTitle'
+ style: 'invoiceDueDateTitle'
},
{
text: ,
- style: 'invoiceDateValue'
+ style: 'invoiceDueDateValue'
},
],
]
@@ -501,7 +496,7 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
],
[
{
- rowSpan: 3,
+ rowSpan: '*',
text: ,
style: 'notesText'
},
@@ -514,6 +509,20 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
style: 'itemsFooterSubValue'
}
],
+ 0) { ?>
+ [
+ {},
+ {
+ text: 'Discount',
+ style: 'itemsFooterSubTitle'
+ },
+ {
+ text: ,
+ style: 'itemsFooterSubValue'
+ }
+ ],
+
+ 0) { ?>
[
{},
{
@@ -525,15 +534,16 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
style: 'itemsFooterSubValue'
}
],
+
[
{},
{
text: 'Total',
- style: 'itemsFooterSubTitle'
+ style: 'itemsFooterTotalTitle'
},
{
text: ,
- style: 'itemsFooterSubValue'
+ style: 'itemsFooterTotalValue'
}
],
]
@@ -600,6 +610,19 @@ if ($quote_status == "Draft" || $quote_status == "Sent" || $quote_status == "Vie
alignment: 'right',
margin: [0,5,0,5]
},
+ // Invoice Due Dates
+ invoiceDueDateTitle: {
+ fontSize: 10,
+ bold: true,
+ alignment: 'left',
+ margin: [0,5,0,5]
+ },
+ invoiceDueDateValue: {
+ fontSize: 10,
+ bold: true,
+ alignment: 'right',
+ margin: [0,5,0,5]
+ },
// Items Header
itemsHeader: {
fontSize: 10,
diff --git a/quote.php b/quote.php
index c644944d..ade850d3 100644
--- a/quote.php
+++ b/quote.php
@@ -422,21 +422,16 @@ if (isset($_GET['quote_id'])) {
- 0) {
- ?>
-
- | Discount |
- |
-
-
| Subtotal |
|
+ 0) { ?>
+
+ | Discount |
+ - |
+
+
0) { ?>
| Tax |
@@ -642,11 +637,11 @@ require_once "footer.php";
{},
{
text: 'Expire',
- style: 'invoiceDateTitle'
+ style: 'invoiceDueDateTitle'
},
{
text: ,
- style: 'invoiceDateValue'
+ style: 'invoiceDueDateValue'
},
],
]
@@ -765,7 +760,7 @@ require_once "footer.php";
],
[
{
- rowSpan: 3,
+ rowSpan: '*',
text: ,
style: 'notesText'
},
@@ -778,6 +773,20 @@ require_once "footer.php";
style: 'itemsFooterSubValue'
}
],
+ 0) { ?>
+ [
+ {},
+ {
+ text: 'Discount',
+ style: 'itemsFooterSubTitle'
+ },
+ {
+ text: ,
+ style: 'itemsFooterSubValue'
+ }
+ ],
+
+ 0) { ?>
[
{},
{
@@ -789,15 +798,16 @@ require_once "footer.php";
style: 'itemsFooterSubValue'
}
],
+
[
{},
{
text: 'Total',
- style: 'itemsFooterSubTitle'
+ style: 'itemsFooterTotalTitle'
},
{
text: ,
- style: 'itemsFooterSubValue'
+ style: 'itemsFooterTotalValue'
}
],
]
@@ -864,6 +874,19 @@ require_once "footer.php";
alignment: 'right',
margin: [0,5,0,5]
},
+ // Invoice Due Dates
+ invoiceDueDateTitle: {
+ fontSize: 10,
+ bold: true,
+ alignment: 'left',
+ margin: [0,5,0,5]
+ },
+ invoiceDueDateValue: {
+ fontSize: 10,
+ bold: true,
+ alignment: 'right',
+ margin: [0,5,0,5]
+ },
// Items Header
itemsHeader: {
fontSize: 10,
diff --git a/recurring_invoice.php b/recurring_invoice.php
index 8bba5ac6..00329680 100644
--- a/recurring_invoice.php
+++ b/recurring_invoice.php
@@ -356,31 +356,25 @@ if (isset($_GET['recurring_id'])) {
- 0) {
- ?>
-
- | Discount |
- |
-
-
-
| Subtotal |
|
+ 0) { ?>
+
+ | Discount |
+ |
+
+
0) { ?>
| Tax |
|
-
- | Total |
- |
+
+ | Total |
+ |