+ $viewer = "dimensions/view/view_dimension.php?trans_no=$trans_no";
+ else
+ return null;
+
+ if ($label == "")
+ $label = $trans_no;
+
+ return viewer_link($label, $viewer, $class, $id, $icon);
+}
+/*
+ Journal entry or cost update postings link
+*/
+function get_journal_trans_view_str($type, $trans_no, $label="", $icon=false,
+ $class='', $id='')
+{
+ if ($type == 0 || $type == 35)
+ $viewer = "gl/view/gl_trans_view.php?type_id=$type&trans_no=$trans_no";