- else
- $rep->title = _('CREDIT NOTE');
- $contacts = get_branch_contacts($branch['branch_code'], 'invoice', $branch['debtor_no']);
+ $rep->SetHeaderType('Header2');
+ $rep->currency = $cur;
+ $rep->Font();
+ $rep->Info($params, $cols, null, $aligns);
+
+ $contacts = get_branch_contacts($branch['branch_code'], 'invoice', $branch['debtor_no'], true);