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;
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'");
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