From ae6743606f3ceac7655aa4dc04a7f1567d096441 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 17 Dec 2018 09:41:08 +0100 Subject: [PATCH] Foxed a non well formed numeric value encountered rep202.php. @apmuthu. --- reporting/rep202.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporting/rep202.php b/reporting/rep202.php index dc899f57..04d1afa1 100644 --- a/reporting/rep202.php +++ b/reporting/rep202.php @@ -211,7 +211,7 @@ function print_aged_supplier_analysis() $rep->TextCol(1, 2, $trans['reference'], -2); $rep->TextCol(2, 3, sql2date($trans['tran_date']), -2); foreach ($trans as $i => $value) - $trans[$i] *= $rate; + $trans[$i] = (float)$trans[$i] * $rate; $str = array($trans["Balance"] - $trans["Due"], $trans["Due"]-$trans["Overdue1"], $trans["Overdue1"]-$trans["Overdue2"], -- 2.30.2