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