X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Freorder_level.php;h=2c5de4649b89bff04e03e418201e9bdd47170ac9;hb=777ef96148b96c83d8e21a3d6e036ee8f2b3c607;hp=83283d5b536d012e36863ba8c5213b8586f2e02b;hpb=c09be0dad6b05131e240349a375af7a4b7bf3444;p=fa-stable.git diff --git a/inventory/reorder_level.php b/inventory/reorder_level.php index 83283d5b..2c5de464 100644 --- a/inventory/reorder_level.php +++ b/inventory/reorder_level.php @@ -1,5 +1,14 @@ . +***********************************************************************/ $page_security = 4; $path_to_root=".."; include_once($path_to_root . "/includes/session.inc"); @@ -19,7 +28,7 @@ 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'); @@ -38,6 +47,7 @@ echo "
"; div_start('show_heading'); stock_item_heading($_POST['stock_id']); +br(); div_end(); set_global_stock_item($_POST['stock_id']);