From 15d92d626f2fc847d175f8dcb703df1a14e9ee28 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Tue, 5 Oct 2010 09:40:35 +0000 Subject: [PATCH] Fixed contact type for language selection. --- reporting/rep107.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporting/rep107.php b/reporting/rep107.php index 78a59495..33455a19 100644 --- a/reporting/rep107.php +++ b/reporting/rep107.php @@ -109,7 +109,7 @@ function print_invoices() } else $rep->title = ($j == ST_SALESINVOICE) ? _('INVOICE') : _('CREDIT NOTE'); - $contacts = get_branch_contacts($branch['branch_code'], 'order', $branch['debtor_no']); + $contacts = get_branch_contacts($branch['branch_code'], 'invoice', $branch['debtor_no']); $rep->SetCommonData($myrow, $branch, $sales_order, $baccount, $j, $contacts); $rep->NewPage(); -- 2.30.2