X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep111.php;h=45c5ab999e4be66466387c6dc2a6c6786ade4d60;hb=3974cfebf97c03e07b0beb608ae63b84b1e0f908;hp=df2b2dbe7378606d0a823d95850fb43eeec08e40;hpb=211598c5964fd138631395c7f329ec8b87c43c0b;p=fa-stable.git diff --git a/reporting/rep111.php b/reporting/rep111.php index df2b2dbe..45c5ab99 100644 --- a/reporting/rep111.php +++ b/reporting/rep111.php @@ -68,6 +68,9 @@ function print_sales_quotations() for ($i = $from; $i <= $to; $i++) { $myrow = get_sales_order_header($i, ST_SALESQUOTE); + 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"]);