From: Joe Date: Fri, 13 Feb 2015 21:46:35 +0000 (+0100) Subject: Rerun of rep107. Currency filter not working in documents. X-Git-Tag: 2.3-final~71 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=68babd2d144debdc16a783f78c13be4a39d714bb Rerun of rep107. Currency filter not working in documents. --- diff --git a/reporting/rep107.php b/reporting/rep107.php index 6e0307ea..d3f74dd7 100644 --- a/reporting/rep107.php +++ b/reporting/rep107.php @@ -75,7 +75,7 @@ function print_invoices() $sign = 1; $myrow = get_customer_trans($i, ST_SALESINVOICE); - if($customer != ALL_TEXT && $myrow['debtor_no'] != $customer) { + if ($customer && $myrow['debtor_no'] != $customer) { continue; } if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) {