X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep107.php;h=5d181090fe02a27242deaa06525bb61a51d1b79a;hb=2cb57633d2f3e27b0c2b2e7448564f467e21e1fd;hp=2c5449445d86c2ff2c102b48c4138da13a92fafb;hpb=28e7dac267b65d8163ca41c452c42706d0ffb2dd;p=fa-stable.git diff --git a/reporting/rep107.php b/reporting/rep107.php index 2c544944..5d181090 100644 --- a/reporting/rep107.php +++ b/reporting/rep107.php @@ -73,7 +73,7 @@ function print_invoices() { for ($j = ST_SALESINVOICE; $j <= ST_CUSTCREDIT; $j++) { - if (isset($_POST['PARAM_7']) && $_POST['PARAM_7'] != $j) + if (isset($_POST['PARAM_6']) && $_POST['PARAM_6'] != $j) continue; if (!exists_customer_trans($j, $i)) continue;