- $rep->SetCommonData($myrow, $branch, $myrow, $baccount, ST_SALESQUOTE);
- $rep->headerFunc = 'Header2';
+ $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no']);
+ $rep->SetCommonData($myrow, $branch, $myrow, $baccount, ST_SALESQUOTE, $contacts);
+ //$rep->headerFunc = 'Header2';