X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep107.php;h=11af3b832f90f83c7826ca50812cfc9a87761314;hb=c5dc92bf60148463852a81f74284117ce3fd1e92;hp=275498c9d184b06f92baf88756132f7d74f2cecc;hpb=99d5647a5dd083073d39603792fd78c49bfb5ccb;p=fa-stable.git diff --git a/reporting/rep107.php b/reporting/rep107.php index 275498c9..11af3b83 100644 --- a/reporting/rep107.php +++ b/reporting/rep107.php @@ -109,7 +109,8 @@ function print_invoices() } else $rep->title = ($j == ST_SALESINVOICE) ? _('INVOICE') : _('CREDIT NOTE'); - $rep->SetCommonData($myrow, $branch, $sales_order, $baccount, $j); + $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no']); + $rep->SetCommonData($myrow, $branch, $sales_order, $baccount, $j, $contacts); $rep->NewPage(); $result = get_customer_trans_details($j, $i);