projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Currency filter not working in documents.
[fa-stable.git]
/
reporting
/
rep113.php
diff --git
a/reporting/rep113.php
b/reporting/rep113.php
index f38fd4c19e3805b655ea8b28f093758d3323a430..c73388abf565650c4c097d4fa0c84f9bfe0cabda 100644
(file)
--- a/
reporting/rep113.php
+++ b/
reporting/rep113.php
@@
-74,6
+74,9
@@
function print_credits()
continue;
$sign = -1;
$myrow = get_customer_trans($i, ST_CUSTCREDIT);
continue;
$sign = -1;
$myrow = get_customer_trans($i, ST_CUSTCREDIT);
+ if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) {
+ continue;
+ }
$baccount = get_default_bank_account($myrow['curr_code']);
$params['bankaccount'] = $baccount['id'];
$baccount = get_default_bank_account($myrow['curr_code']);
$params['bankaccount'] = $baccount['id'];