Skip to content

Commit

Permalink
fix for last fix for payment processing
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Jan 25, 2022
1 parent 1160db1 commit abbd108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/patient_file/front_payment.php
Expand Up @@ -196,7 +196,7 @@ function calcTaxes($row, $amount)

if ($_POST['form_upay'] && $_REQUEST['radio_type_of_payment'] != 'pre_payment') {
foreach ($_POST['form_upay'] as $enc => $payment) {
if ($amount = 0 + (int)$payment) {
if ($amount = 0 + floatval($payment)) {
$zero_enc = $enc;
if ($_REQUEST['radio_type_of_payment'] == 'invoice_balance') {
if (!$enc) {
Expand Down

0 comments on commit abbd108

Please sign in to comment.