Fixed typo in Suppliers Report.
[fa-stable.git] / reporting / rep210.php
index 3af1bafbc2eb4ab27bd552d9a08f678ecb25961e..9f14a1ae2975ad8fd72ae6dcbb96aab7c0b17749 100644 (file)
@@ -96,6 +96,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'];