+ start_table(TABLESTYLE, "width='95%'");
+ $th = array(_("General Ledger Transaction Details"), _("Reference"),
+ _("Transaction Date"), _("GL #"));
+
+ if ($_GET['type_id'] == ST_JOURNAL)
+ array_insert($th, 3, array(_("Document Date"), _("Event Date")));
+ else
+ array_insert($th, 3, array(_("Counterparty")));
+
+ if($myrow['supp_reference'])
+ {
+ array_insert($th, 2, array(_("Supplier Reference")));
+ }
+ table_header($th);
+ start_row();