Added fixed asset related db changes in upgrade class.
[fa-stable.git] / gl / view / gl_trans_view.php
index 7e37d0a6e188ccf404e3d6419e02628ed7641c13..0cda61603cf25c2449207bf6ba7f342c330d845e 100644 (file)
@@ -29,7 +29,7 @@ if (!isset($_GET['type_id']) || !isset($_GET['trans_no']))
 
 function display_gl_heading($myrow)
 {
-       global $systypes_array, $type_shortcuts;
+       global $systypes_array;
 
        $trans_name = $systypes_array[$_GET['type_id']];
        $journal = $_GET['type_id'] == ST_JOURNAL;
@@ -50,7 +50,7 @@ function display_gl_heading($myrow)
     table_header($th); 
     start_row();       
     label_cell("$trans_name #" . $_GET['trans_no']);
-    label_cell($type_shortcuts[$myrow['type']].' '.$myrow["reference"], "align='center'");
+    label_cell($myrow["reference"], "align='center'");
        if($myrow['supp_reference'])
        {
        label_cell($myrow["supp_reference"], "align='center'");
@@ -94,7 +94,7 @@ $dim = get_company_pref('use_dimension');
 if ($dim == 2)
        $th = array(_("Journal Date"), _("Account Code"), _("Account Name"), _("Dimension")." 1", _("Dimension")." 2",
                _("Debit"), _("Credit"), _("Memo"));
-else if ($dim == 1)
+elseif ($dim == 1)
        $th = array(_("Journal Date"), _("Account Code"), _("Account Name"), _("Dimension"),
                _("Debit"), _("Credit"), _("Memo"));
 else