$rep->filename = "SalesQuotation" . $i . ".pdf";
else
$rep->filename = "SalesQuotation" . $myrow['reference'] . ".pdf";
- }
+ }
$rep->SetHeaderType('Header2');
$rep->currency = $cur;
$rep->Font();
$rep->Info($params, $cols, null, $aligns);
- $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no'], false);
+ $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no'], true);
$rep->SetCommonData($myrow, $branch, $myrow, $baccount, ST_SALESQUOTE, $contacts);
//$rep->headerFunc = 'Header2';
$rep->NewPage();