X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep108.php;h=3396fc1ac28ec0d9262f0beefd1cb3d6249517cb;hb=efc1a9ce400be6233323af9c193ab9460407bcf6;hp=56a09b4d5dce4a256813d0e28ba032de8c6a5fdb;hpb=b37623cf1de2cfce6825744557d76475f002321f;p=fa-stable.git diff --git a/reporting/rep108.php b/reporting/rep108.php index 56a09b4d..3396fc1a 100644 --- a/reporting/rep108.php +++ b/reporting/rep108.php @@ -81,7 +81,7 @@ function print_statements() $rep->Info($params, $cols, null, $aligns); } - $sql = "SELECT debtor_no, name AS DebtorName, address, tax_id, email, curr_code, curdate() AS tran_date FROM ".TB_PREF."debtors_master"; + $sql = "SELECT debtor_no, name AS DebtorName, address, tax_id, email, curr_code, curdate() AS tran_date, rep_lang FROM ".TB_PREF."debtors_master"; if ($customer != ALL_NUMERIC) $sql .= " WHERE debtor_no = ".db_escape($customer); else @@ -114,14 +114,7 @@ function print_statements() $rep->NewLine(); $linetype = true; $doctype = ST_STATEMENT; - if ($rep->currency != $myrow['curr_code']) - { - include($path_to_root . "/reporting/includes/doctext2.inc"); - } - else - { - include($path_to_root . "/reporting/includes/doctext.inc"); - } + include($path_to_root . "/reporting/includes/doctext.inc"); $rep->fontSize += 2; $rep->TextCol(0, 8, $doc_Outstanding); $rep->fontSize -= 2;