projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc4384e
)
Customer balance Report rep101.php has one extra parameter. Fixed @kvvaradha.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 13 Feb 2019 14:48:50 +0000
(15:48 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 13 Feb 2019 14:48:50 +0000
(15:48 +0100)
reporting/rep101.php
patch
|
blob
|
history
diff --git
a/reporting/rep101.php
b/reporting/rep101.php
index b9c3ad08304e286a33b7e298cb0b456c23053077..dc81dd5a4e4590ffcabe5ca6e24974032e42821b 100644
(file)
--- 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);