X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep113.php;h=c73388abf565650c4c097d4fa0c84f9bfe0cabda;hb=3c73d05998cf50fed7fa5c0a568a1a911e7023e2;hp=f38fd4c19e3805b655ea8b28f093758d3323a430;hpb=a5a1f885ee288c74ea2674a9eaaa402ac3c05363;p=fa-stable.git diff --git a/reporting/rep113.php b/reporting/rep113.php index f38fd4c1..c73388ab 100644 --- a/reporting/rep113.php +++ b/reporting/rep113.php @@ -74,6 +74,9 @@ function print_credits() continue; $sign = -1; $myrow = get_customer_trans($i, ST_CUSTCREDIT); + if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) { + continue; + } $baccount = get_default_bank_account($myrow['curr_code']); $params['bankaccount'] = $baccount['id'];