systypes_list_cells(_("Transaction Type:"), 'filterType', null, true);
if (list_updated('filterType'))
$selected_id = -1;
-
+
end_row();
end_table(1);
_("GL") => array('insert'=>true, 'fun'=>'gl_view'),
_("Select") => array('insert'=>true, 'fun'=>'select_link')
);
- if(!$trans_ref) {
- array_remove($cols, 1);
- }
$table =& new_db_pager('transactions', $sql, $cols);
$table->width = "40%";
start_table(TABLESTYLE2);
- //systypes_list_row(_("Transaction Type:"), "filterType", null, true);
-
if ($selected_id != -1)
{
- $_POST['trans_no'] = $selected_id;
+ hidden('trans_no', $selected_id);
hidden('selected_id', $selected_id);
}
else
- $_POST['trans_no'] = '';
-
- text_row(_("Transaction #:"), 'trans_no', null, 12, 12);
+ {
+ hidden('trans_no', '');
+ $_POST['memo_'] = '';
+ }
+ label_row(_("Transaction #:"), ($selected_id==-1?'':$selected_id));
date_row(_("Voiding Date:"), 'date_');