X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep704.php;h=8986237d2ebc4f18cb32594b1f46bd413e005a9c;hb=fa600790f955f0a95856ea4c2327d1230e35c083;hp=ffa888fdaad9b2e091f85635fcc0a1854402244b;hpb=902f1015d874c33bd7946b17de2ad80b4f2144b6;p=fa-stable.git diff --git a/reporting/rep704.php b/reporting/rep704.php index ffa888fd..8986237d 100644 --- a/reporting/rep704.php +++ b/reporting/rep704.php @@ -31,7 +31,7 @@ print_GL_transactions(); function print_GL_transactions() { - global $path_to_root; + global $path_to_root, $systypes_array; $dim = get_company_pref('use_dimension'); $dimension = $dimension2 = 0; @@ -66,7 +66,7 @@ function print_GL_transactions() $rep = new FrontReport(_('GL Account Transactions'), "GLAccountTransactions", user_pagesize()); $dec = user_price_dec(); - $cols = array(0, 70, 90, 140, 210, 280, 340, 400, 450, 510, 570); + $cols = array(0, 80, 100, 150, 210, 280, 340, 400, 450, 510, 570); //------------0--1---2---3----4----5----6----7----8----9----10------- //-----------------------dim1-dim2----------------------------------- //-----------------------dim1---------------------------------------- @@ -147,14 +147,14 @@ function print_GL_transactions() { $total += $myrow['amount']; - $rep->TextCol(0, 1, systypes::name($myrow["type"])); + $rep->TextCol(0, 1, $systypes_array[$myrow["type"]]); $rep->TextCol(1, 2, $myrow['type_no']); $rep->DateCol(2, 3, $myrow["tran_date"], true); if ($dim >= 1) $rep->TextCol(3, 4, get_dimension_string($myrow['dimension_id'])); if ($dim > 1) $rep->TextCol(4, 5, get_dimension_string($myrow['dimension2_id'])); - $rep->TextCol(5, 6, payment_person_types::person_name($myrow["person_type_id"],$myrow["person_id"], false)); + $rep->TextCol(5, 6, payment_person_name($myrow["person_type_id"],$myrow["person_id"], false)); if ($myrow['amount'] > 0.0) $rep->AmountCol(6, 7, abs($myrow['amount']), $dec); else