Customer balance Report rep101.php has one extra parameter. Fixed @kvvaradha.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 13 Feb 2019 14:48:50 +0000 (15:48 +0100)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 13 Feb 2019 14:48:50 +0000 (15:48 +0100)
reporting/rep101.php

index b9c3ad08304e286a33b7e298cb0b456c23053077..dc81dd5a4e4590ffcabe5ca6e24974032e42821b 100644 (file)
@@ -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);