Customer Credit Notes should not be included in Print Receipts.
[fa-stable.git] / reporting / rep112.php
index b5238a2673769c14432e0dec3df9af9d55443976..a2f1b3587cf34faa83e615031535a9cb6da1001b 100644 (file)
@@ -100,7 +100,7 @@ function print_receipts()
                if ($fno[0] == $tno[0])
                        $types = array($fno[1]);
                else
-                       $types = array(ST_BANKDEPOSIT, ST_CUSTPAYMENT, ST_CUSTCREDIT);
+                       $types = array(ST_BANKDEPOSIT, ST_CUSTPAYMENT);
                foreach ($types as $j)
                {
                        $myrow = get_receipt($j, $i);