Improved layout on documents etc and new empty language file.
[fa-stable.git] / reporting / rep107.php
index 2c5449445d86c2ff2c102b48c4138da13a92fafb..5d181090fe02a27242deaa06525bb61a51d1b79a 100644 (file)
@@ -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;