. ***********************************************************************/ $path_to_root = "../.."; include_once($path_to_root . "/includes/session.inc"); include_once($path_to_root . "/includes/ui/ui_lists.inc"); include_once($path_to_root . "/includes/ui/ui_globals.inc"); include_once($path_to_root . "/includes/ui/ui_input.inc"); include_once($path_to_root . "/reporting/includes/reporting.inc"); //include_once("includes/item_scheduler.inc"); include_once("hincludes/lib/php/Boot.class.php"); $page_security = 'SA_ORDERLINEX_EDIT'; add_access_extensions(); $_SESSION['page_title'] = _($help_context = "Item schedule"); $js = ""; page($_SESSION['page_title'], false, false, "", $js); //--------------------------------------------------------------------------------------------- start_form(); start_table(TABLESTYLE_NOBORDER); start_row(); ?>GETPOSTactivate('item_schedule'); //if (!@$_GET['popup']) start_form(); $stock_id = $_POST['stock_id']; stock_costable_items_list_cells(_("Item:"), 'stock_id', $stock_id); end_row(); end_table(1); $scheduler = new ItemScheduler($stock_id, 'DEF'); div_start('item_schedule'); start_table(TABLESTYLE); $th = $scheduler->tableHeader(); table_header($th); $scheduler->generateTable(); end_table(); div_end(); submit_center_first('Update', _("Update"), '', 'default', false); submit_center_last('Cancel', _("Cancel"), '', 'cancel', false); end_form(); end_page(); ?>