From b129e308867dbdc3683ead9e4c9f087f31d22b82 Mon Sep 17 00:00:00 2001 From: Ajil Date: Fri, 12 Oct 2012 19:03:25 +0530 Subject: [PATCH] Fixed an issue in showing insurance balance in payment pop-up. Signed-off-by: Ajil --- interface/patient_file/front_payment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/patient_file/front_payment.php b/interface/patient_file/front_payment.php index 91884bbe1..9e43b8091 100644 --- a/interface/patient_file/front_payment.php +++ b/interface/patient_file/front_payment.php @@ -53,7 +53,7 @@ $var_index=0; function echoLine($iname, $date, $charges, $ptpaid, $inspaid, $duept,$encounter=0,$copay=0,$patcopay=0) { global $var_index; $var_index++; - $balance = bucks($charges - $ptpaid - $inspaid - $copay*-1); + $balance = bucks($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"; -- 2.11.4.GIT