//require('setup_inventory_view_header.php');
require("setup_inventory_header.php");
change_status::change("materials_inventory","materials_inventory");
?>
common_main_header::get_header();
$id = $_SESSION['user']['id'];
$context = array(
"method" => $_GET['method'],
"order" => $_GET['order'],
"status" => $status,
"avail_edit" => common_ref_status::check_edit("materials_inventory",$status,"setup_inventory_edit"),
"avail_status" => acl::permission("setup_inventory_edit"),
"link_view" => "setup_inventory_details",
"link_edit" => "setup_inventory_edit",
"staff_id" => $id
);
//bug::bug_array("context",$context);
$obj = new list_setup_inventory($context);
// $obj->get_data();
// bug::bug_array("obj",$obj);
$obj->get_data()->show();
?>