Fixed GET continuation after timeot and logout page access without authorization.
[fa-stable.git] / gl / manage / gl_quick_entries.php
index 137cfaa4bd47752ea9b40d90fad1112e1f2aa9ff..5a8804cb12e0aacdc69f1fd617757aa95e82a343 100644 (file)
@@ -9,8 +9,8 @@
     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"));
@@ -216,7 +216,7 @@ amount_row(_("Default Base Amount").':', 'base_amount', price_format(0));
 
 end_table(1);
 
-submit_add_or_update_center($selected_id == -1, '', true);
+submit_add_or_update_center($selected_id == -1, '', 'both');
 
 end_form();
 
@@ -302,7 +302,8 @@ if ($selected_id != -1)
 
        if ($actn == 't') 
        {
-               item_tax_types_list_row(_("Item Tax Type").":",'dest_id', null);
+               //item_tax_types_list_row(_("Item Tax Type").":",'dest_id', null);
+               tax_types_list_row(_("Tax Type").":", 'dest_id', null);
        } 
        else 
        {
@@ -340,4 +341,4 @@ if ($selected_id != -1)
 
 end_page();
 
-?>
+?>
\ No newline at end of file