. ***********************************************************************/ $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); //--------------------------------------------------------------------------------------------- div_start('item_schedule'); start_form(); start_table(TABLESTYLE_NOBORDER); start_row(); echo date('h:i:s
',time()); ?>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); $params = in_ajax() ? new ScheduleParameters($_POST) : null; $scheduler = new ItemScheduler($stock_id, 'DEF', $params); start_table(TABLESTYLE); $th = $scheduler->tableHeader(); table_header($th); $scheduler->generateTable(); end_table(); submit_center_first('Update', _("Update"), '', 'default', false); submit_center_last('Cancel', _("Cancel"), '', 'cancel', false); end_form(); div_end(); end_page(); ?>