X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Freorder_level.php;h=4e8f02c4fa7ee07e5694c0834b441ce65fa43d77;hb=a0a0a0e1318042034fe5652caa69b034200c8a90;hp=83283d5b536d012e36863ba8c5213b8586f2e02b;hpb=d7dde51cf888dfc7e049fefed38e786a369b9b38;p=fa-stable.git diff --git a/inventory/reorder_level.php b/inventory/reorder_level.php index 83283d5b..4e8f02c4 100644 --- a/inventory/reorder_level.php +++ b/inventory/reorder_level.php @@ -1,10 +1,19 @@ . +***********************************************************************/ +$page_security = 'SA_REORDER'; +$path_to_root = ".."; include_once($path_to_root . "/includes/session.inc"); -page(_("Reorder Levels")); +page(_($help_context = "Reorder Levels")); include_once($path_to_root . "/includes/date_functions.inc"); include_once($path_to_root . "/includes/ui.inc"); @@ -19,30 +28,31 @@ check_db_has_costable_items(_("There are no inventory items defined in the syste if (isset($_GET['stock_id'])) $_POST['stock_id'] = $_GET['stock_id']; -if (isset($_POST['_stock_id_update'])) +if (list_updated('stock_id')) { $Ajax->activate('show_heading'); $Ajax->activate('reorders'); } //------------------------------------------------------------------------------------ -start_form(false, true); +start_form(); if (!isset($_POST['stock_id'])) $_POST['stock_id'] = get_global_stock_item(); echo "