From 57c07179aa9e69a2a155177ff70a40d73b0f45a8 Mon Sep 17 00:00:00 2001 From: stephen waite Date: Wed, 6 Mar 2024 10:47:53 -0500 Subject: [PATCH] fix: remove formatting when calculating front payment balance (#7261) --- interface/patient_file/front_payment.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interface/patient_file/front_payment.php b/interface/patient_file/front_payment.php index f1aecd5b523..5c1de65db85 100644 --- a/interface/patient_file/front_payment.php +++ b/interface/patient_file/front_payment.php @@ -7,8 +7,10 @@ * @link http://www.open-emr.org * @author Rod Roark * @author Brady Miller + * @author Stephen Waite * @copyright Copyright (c) 2006-2020 Rod Roark * @copyright Copyright (c) 2017-2018 Brady Miller + * @copyright Copyright (c) 2024 Stephen Waite * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3 */ @@ -79,7 +81,7 @@ function echoLine($iname, $date, $charges, $ptpaid, $inspaid, $duept, $encounter { global $var_index; $var_index++; - $balance = FormatMoney::getBucks($charges - $ptpaid - $inspaid); + $balance = $charges - $ptpaid - $inspaid; $balance = (round($duept, 2) != 0) ? 0 : $balance;//if balance is due from patient, then insurance balance is displayed as zero $encounter = $encounter ? $encounter : ''; echo " \n";