Tags support related changes.
[fa-stable.git] / inventory / reorder_level.php
index 3b6f8f7d7e8e2b8a7cacb16c50acec09e0b1e296..7af7329e4b43bb65d44538f7dd4c42cfdcc1e0ed 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 = 4;
-$path_to_root="..";
+$page_security = 'SA_REORDER';
+$path_to_root = "..";
 include_once($path_to_root . "/includes/session.inc");
 
 page(_("Reorder Levels"));
@@ -35,7 +35,7 @@ if (list_updated('stock_id'))
 }
 //------------------------------------------------------------------------------------
 
-start_form(false, true);
+start_form();
 
 if (!isset($_POST['stock_id']))
        $_POST['stock_id'] = get_global_stock_item();
@@ -47,6 +47,7 @@ echo "<hr></center>";
 
 div_start('show_heading');
 stock_item_heading($_POST['stock_id']);
+br();
 div_end();
 set_global_stock_item($_POST['stock_id']);
 
@@ -92,7 +93,7 @@ while ($myrow = db_fetch($result))
 
 end_table(1);
 div_end();
-submit_center('UpdateData', _("Update"));
+submit_center('UpdateData', _("Update"), true, false, 'default');
 
 end_form();
 end_page();