Multiply contacts spport added.
[fa-stable.git] / reporting / rep110.php
index f5b35bc065dd6e970d1c112c4e7d25be2c6539e2..db7c1c941474c6fc9bd852d29e890fc4d8f0358d 100644 (file)
@@ -101,7 +101,8 @@ function print_deliveries()
                        }
                        else
                                $rep->title = _('DELIVERY NOTE');
-                       $rep->SetCommonData($myrow, $branch, $sales_order, '', ST_CUSTDELIVERY);
+                       $contacts = get_branch_contacts($branch['branch_code'], 'delivery', $branch['debtor_no']);
+                       $rep->SetCommonData($myrow, $branch, $sales_order, '', ST_CUSTDELIVERY, $contacts);
                        $rep->NewPage();
 
                        $result = get_customer_trans_details(ST_CUSTDELIVERY, $i);