Merged changes from stable branch up to 2.3.23.
[fa-stable.git] / reporting / rep108.php
index 5fccb257fcd2db5f871659cac4d43d3e2a4d9a69..84a80ca18279d32172ecd5e6cafa3c1a3ef0affd 100644 (file)
@@ -95,6 +95,9 @@ function print_statements()
 
        while ($myrow=db_fetch($result))
        {
+               if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) {
+                       continue;
+               }       
                $date = date('Y-m-d');
 
                $myrow['order_'] = "";