From 365e75ac5ada7b894f9c535370b25d6316e9a6a4 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Wed, 14 Apr 2021 13:06:25 -0400 Subject: [PATCH] Fixed Number formating with pdf guest invoice --- guest_view_invoice.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/guest_view_invoice.php b/guest_view_invoice.php index d8e1b0ac..54798481 100644 --- a/guest_view_invoice.php +++ b/guest_view_invoice.php @@ -453,9 +453,7 @@ var docDefinition = { $item_total = $row['item_total']; $tax_id = $row['tax_id']; $total_tax = $item_tax + $total_tax; - $total_tax = number_format($total_tax,2); $sub_total = $item_price * $item_quantity + $sub_total; - $sub_total = number_format($sub_total, 2); ?> // Item @@ -475,15 +473,15 @@ var docDefinition = { style:'itemQty' }, { - text:'$', + text:'$', style:'itemNumber' }, { - text:'$', + text:'$', style:'itemNumber' }, { - text: '$', + text: '$', style:'itemNumber' } ], @@ -525,7 +523,7 @@ var docDefinition = { style:'itemsFooterSubTitle' }, { - text:'$', + text:'$', style:'itemsFooterSubValue' } ],