projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merged all main trunk bugfixes up to release 2.0.5
[fa-stable.git]
/
reporting
/
rep201.php
diff --git
a/reporting/rep201.php
b/reporting/rep201.php
index 92e85c0461c9be2c144bf4eb2bbe818a3bf4d087..89169ce0567eb011cdebc0a9627e00f3b8b6fa91 100644
(file)
--- a/
reporting/rep201.php
+++ b/
reporting/rep201.php
@@
-118,7
+118,8
@@
function print_supplier_balances()
$rep->TextCol(3, 4, sql2date($trans['due_date']));
$item[0] = $item[1] = 0.0;
if ($convert)
$rep->TextCol(3, 4, sql2date($trans['due_date']));
$item[0] = $item[1] = 0.0;
if ($convert)
- $rate = get_exchange_rate_from_home_currency($myrow['curr_code'], $date);
+ //$rate = get_exchange_rate_from_home_currency($myrow['curr_code'], $date);
+ $rate = $trans['rate'];
else
$rate = 1.0;
if ($trans['TotalAmount'] > 0.0)
else
$rate = 1.0;
if ($trans['TotalAmount'] > 0.0)