From 713778d094ea997b8e08b71645ef7b7fe6a86707 Mon Sep 17 00:00:00 2001 From: "johnny@pittpc.com" Date: Fri, 5 Mar 2021 13:52:42 -0500 Subject: [PATCH] Fixed issue where balance wasnt showing due to the number formating with a , before calculation --- invoice.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/invoice.php b/invoice.php index 83597829..149f0ab3 100644 --- a/invoice.php +++ b/invoice.php @@ -77,7 +77,6 @@ if(isset($_GET['invoice_id'])){ $amount_paid = $row['amount_paid']; $balance = $invoice_amount - $amount_paid; - $balance = number_format($balance,2); //check to see if overdue if($invoice_status !== "Paid" AND $invoice_status !== "Draft" AND $invoice_status !== "Cancelled"){ @@ -765,7 +764,7 @@ include("footer.php"); style:'itemsFooterSubTitle' }, { - text: '$', + text: '$', style:'itemsFooterSubValue' } ],