Customer Payment, Supplier Payment: early discount support.
[fa-stable.git] / reporting / rep210.php
index 98b4a9b024c232eab641a40e3b7d9fdfbd3188ad..c204000e1b8939f377552d61aec786cb9f639b11 100644 (file)
@@ -119,7 +119,7 @@ function print_remittances()
                        $rep->SetCommonData($myrow, null, $myrow, $baccount, ST_SUPPAYMENT, $contacts);
                        $rep->SetHeaderType('Header2');
                        $rep->NewPage();
-                       $result = get_allocatable_to_supp_transactions($myrow['supplier_id'], $myrow['trans_no'], $myrow['type']);
+                       $result = get_allocatable_to_supp_transactions(0, $myrow['trans_no'], $myrow['type']);
 
                        $doctype = ST_SUPPAYMENT;