X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep113.php;h=2e8e1dc5484509dbc28aaa39803e19fc7230ada5;hb=53d942f2a0d20cce5e9c409c6485867ce0869e4d;hp=940b9e145260b1ef13010ca9c5d9d5fabff0d22e;hpb=6a4d8e6c1e92ff1b8fc5abb3fae76fb1c1968550;p=fa-stable.git diff --git a/reporting/rep113.php b/reporting/rep113.php index 940b9e14..2e8e1dc5 100644 --- a/reporting/rep113.php +++ b/reporting/rep113.php @@ -85,13 +85,13 @@ function print_credits() $rep = new FrontReport("", "", user_pagesize(), 9, $orientation); $rep->title = _('CREDIT NOTE'); $rep->filename = "CreditNote" . $myrow['reference'] . ".pdf"; - } - $rep->SetHeaderType('Header2'); + } + $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'], false); + $contacts = get_branch_contacts($branch['branch_code'], 'invoice', $branch['debtor_no'], true); $rep->SetCommonData($myrow, $branch, $sales_order, $baccount, ST_CUSTCREDIT, $contacts); $rep->NewPage();