From a21695056d3bf1b15b5f314a84412b0e6dfd011b Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 30 Oct 2008 10:35:25 +0000 Subject: [PATCH] New file --- CHANGELOG.txt | 1 + gl/manage/gl_quick_entries.php | 137 +++++++++++++++++++++++++++++++++ 2 files changed, 138 insertions(+) create mode 100644 gl/manage/gl_quick_entries.php diff --git a/CHANGELOG.txt b/CHANGELOG.txt index fad2f3d0..7202bfca 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -28,6 +28,7 @@ $ /applications/generalledger.php /gl/gl_bank.php /gl/includes/db/gl_db_bank_accounts.inc /gl/includes/ui/gl_bank_ui.inc + /gl/manage/gl_quick_entries.php /sales/manage/customer_branches.php ! New table, 0_quick_entries $ /sql/alter2.1.sql diff --git a/gl/manage/gl_quick_entries.php b/gl/manage/gl_quick_entries.php new file mode 100644 index 00000000..3772b160 --- /dev/null +++ b/gl/manage/gl_quick_entries.php @@ -0,0 +1,137 @@ +'; +//----------------------------------------------------------------------------------- + +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(); + +?> -- 2.30.2