Declare more floatvals

This commit is contained in:
johnnyq
2022-12-05 23:10:34 -05:00
parent 86467bc9c9
commit fe4c413643
18 changed files with 25 additions and 26 deletions

View File

@@ -145,7 +145,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
$invoice_date = $row['invoice_date'];
$payment_date = $row['payment_date'];
$payment_method = htmlentities($row['payment_method']);
$payment_amount = htmlentities($row['payment_amount']);
$payment_amount = floatval($row['payment_amount']);
$payment_currency_code = htmlentities($row['payment_currency_code']);
$payment_reference = htmlentities($row['payment_reference']);
if(empty($payment_reference)){