From 27361234b9405d19fe1a12fcf4048f29335125fb Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 13 Feb 2019 15:48:50 +0100 Subject: [PATCH] Customer balance Report rep101.php has one extra parameter. Fixed @kvvaradha. --- reporting/rep101.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporting/rep101.php b/reporting/rep101.php index b9c3ad08..dc81dd5a 100644 --- a/reporting/rep101.php +++ b/reporting/rep101.php @@ -168,7 +168,7 @@ function print_customer_balances() $accumulate = 0; $rate = $convert ? get_exchange_rate_from_home_currency($myrow['curr_code'], Today()) : 1; - $bal = get_open_balance($myrow['debtor_no'], $from, $convert); + $bal = get_open_balance($myrow['debtor_no'], $from); $init[0] = $init[1] = 0.0; $init[0] = round2(abs($bal['charges']*$rate), $dec); $init[1] = round2(Abs($bal['credits']*$rate), $dec); -- 2.30.2