Removed num_format(),2 function for pricing and cost fields as it was putting in commas as this is unacceptable for floatvals

This commit is contained in:
johnnyq
2023-11-01 17:51:35 -04:00
parent 5c0ab72d69
commit 572f12eaef
11 changed files with 11 additions and 11 deletions

View File

@@ -105,7 +105,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
}
$revenue_date = nullable_htmlentities($row['revenue_date']);
$revenue_payment_method = nullable_htmlentities($row['revenue_payment_method']);
$revenue_amount = number_format(floatval($row['revenue_amount']),2);
$revenue_amount = floatval($row['revenue_amount']);
$revenue_currency_code = nullable_htmlentities($row['revenue_currency_code']);
$revenue_created_at = nullable_htmlentities($row['revenue_created_at']);
$account_id = intval($row['account_id']);