'; //----------------------------------------------------------------------------------- start_form(); start_table($table_style2); if ($selected_id != -1) { if ($Mode == 'Edit') { //editing an existing status code $myrow = get_quick_entry($selected_id); $_POST['id'] = $myrow["id"]; $_POST['description'] = $myrow["description"]; $_POST['account'] = $myrow["account"]; $_POST['deposit'] = $myrow["deposit"]; hidden('selected_id', $selected_id); } } text_row_ex(_("Description:"), 'description', 50, 60); gl_all_accounts_list_row(_("Account"), 'account', null, true); yesno_list_row(_("Deposit:"), 'deposit', null, "", "", false); end_table(1); submit_add_or_update_center($selected_id == -1, '', true); end_form(); //------------------------------------------------------------------------------------ end_page(); ?>