MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/
-$page_security = 3;
-$path_to_root="../..";
+$page_security = 'SA_QUICKENTRY';
+$path_to_root = "../..";
include($path_to_root . "/includes/session.inc");
-page(_("Quick Entries"));
+page(_($help_context = "Quick Entries"));
include($path_to_root . "/gl/includes/gl_db.inc");
end_table(1);
-submit_add_or_update_center($selected_id == -1, '', true);
+submit_add_or_update_center($selected_id == -1, '', 'both');
end_form();
start_table($table_style2);
$dim = get_company_pref('use_dimension');
if ($dim == 2)
- $th = array(_("Post"), _("Account") . "/" . _("Tax Group"), _("Amount"), _("Dimension"), _("Dimension")." 2", "", "");
+ $th = array(_("Post"), _("Account/Tax Type"), _("Amount"), _("Dimension"), _("Dimension")." 2", "", "");
else if ($dim == 1)
- $th = array(_("Post"), _("Account") . "/" . _("Tax Group"), _("Amount"), _("Dimension"), "", "");
+ $th = array(_("Post"), _("Account/Tax Type"), _("Amount"), _("Dimension"), "", "");
else
- $th = array(_("Post"), _("Account") . "/" . _("Tax Group"), _("Amount"), "", "");
+ $th = array(_("Post"), _("Account/Tax Type"), _("Amount"), "", "");
table_header($th);
$k = 0;
if ($actn == 't')
{
//item_tax_types_list_row(_("Item Tax Type").":",'dest_id', null);
- tax_groups_list_row(_("Tax Group").":", 'dest_id', null);
+ tax_types_list_row(_("Tax Type").":", 'dest_id', null);
}
else
{
- gl_all_accounts_list_row(_("Account").":", 'dest_id', null);
+ gl_all_accounts_list_row(_("Account").":", 'dest_id', null, $_POST['type'] == QE_DEPOSIT || $_POST['type'] == QE_PAYMENT);
if ($actn != '=')
{
if ($actn == '%')
end_page();
-?>
+?>
\ No newline at end of file