X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep109.php;h=8b22697ad9a52a0a153d08fe22a1760c0ecba751;hb=561f438a3a1f7b5753d2b09238871418710e687f;hp=3251efcf5cc2bbc068b432eae3dc2e97e9680b0a;hpb=9e37cca6ce38f289b56374f6984f609360bb1e98;p=fa-stable.git diff --git a/reporting/rep109.php b/reporting/rep109.php index 3251efcf..8b22697a 100644 --- a/reporting/rep109.php +++ b/reporting/rep109.php @@ -72,6 +72,9 @@ function print_sales_orders() for ($i = $from; $i <= $to; $i++) { $myrow = get_sales_order_header($i, ST_SALESORDER); + if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) { + continue; + } $baccount = get_default_bank_account($myrow['curr_code']); $params['bankaccount'] = $baccount['id']; $branch = get_branch($myrow["branch_code"]);