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
/
rep210.php
diff --git
a/reporting/rep210.php
b/reporting/rep210.php
index 2500067060bca211619a124473c9fca024d0ce77..5b7634d2a1ece014c3aedbb04f8ee5081bb54353 100644
(file)
--- a/
reporting/rep210.php
+++ b/
reporting/rep210.php
@@
-108,6
+108,9
@@
function print_remittances()
$myrow = get_remittance($j, $i);
if (!$myrow)
continue;
+ if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) {
+ continue;
+ }
$res = get_bank_trans($j, $i);
$baccount = db_fetch($res);
$params['bankaccount'] = $baccount['bank_act'];