X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=item_schedule.php;h=accb8da14034b75e4b37561ccb3dd7a7ad2f82b2;hb=58c6369b4a4e57e3708393900fab9d2fdbd6759f;hp=1f09897f005f180dd831b7042b7c5788616d3951;hpb=56ff0bf4edd26514d849b48c2bb19769f80acfe8;p=order_line_extra.git diff --git a/item_schedule.php b/item_schedule.php index 1f09897..accb8da 100644 --- a/item_schedule.php +++ b/item_schedule.php @@ -20,6 +20,7 @@ include_once($path_to_root . "/reporting/includes/reporting.inc"); //include_once("includes/item_scheduler.inc"); include_once("hincludes/lib/php/Boot.class.php"); include_once("includes/db_order_lines.inc"); +include_once("config.php"); $page_security = 'SA_ORDERLINEX_EDIT'; add_access_extensions(); @@ -49,7 +50,9 @@ else { } } -if (list_updated('stock_id') || in_ajax()) $Ajax->activate('item_schedule'); +if (list_updated('stock_id') || in_ajax()) $Ajax->activate('item_schedule') ; +//else update_queue_quantities() && update_qoh_for_item(); + //if (!@$_GET['popup']) // start_form(); @@ -75,7 +78,7 @@ else { // save parameters form update $_SESSION['schedule_parameters'] = $_POST; } -$scheduler = new ItemScheduler($stock_id, 'DEF', $params); +$scheduler = new ItemScheduler($stock_id, OrderXtraConfig::$default_location, $params); $scheduler->action(); start_table(TABLESTYLE);