From: Joe Hunt Date: Mon, 17 Dec 2018 08:41:08 +0000 (+0100) Subject: Foxed a non well formed numeric value encountered rep202.php. @apmuthu. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=ae6743606f3ceac7655aa4dc04a7f1567d096441 Foxed a non well formed numeric value encountered rep202.php. @apmuthu. --- 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"],