forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove formatting when calculating front payment balance (openem…
- Loading branch information
1 parent
7f49b64
commit 57c0717
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,10 @@ | |
* @link http://www.open-emr.org | ||
* @author Rod Roark <[email protected]> | ||
* @author Brady Miller <[email protected]> | ||
* @author Stephen Waite <[email protected]> | ||
* @copyright Copyright (c) 2006-2020 Rod Roark <[email protected]> | ||
* @copyright Copyright (c) 2017-2018 Brady Miller <[email protected]> | ||
* @copyright Copyright (c) 2024 Stephen Waite <[email protected]> | ||
* @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 " <tr id='tr_" . attr($var_index) . "' >\n"; | ||
|