X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=item_schedule.php;h=608bf90ecbe0ef40537656f535b982b8da469b48;hb=ee3469d3ffd74d2a6be87d3dd0a9541a14bcdfde;hp=1937108e1a2b834d893d3ade96c8a01ca312e940;hpb=791f2f0482e01d5d152091edb5ef267300c91d26;p=order_line_extra.git
diff --git a/item_schedule.php b/item_schedule.php
index 1937108..608bf90 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();
@@ -50,7 +51,7 @@ else {
}
if (list_updated('stock_id') || in_ajax()) $Ajax->activate('item_schedule') ;
-else update_queue_quantities() && update_qoh_for_item();
+//else update_queue_quantities() && update_qoh_for_item();
//if (!@$_GET['popup'])
@@ -77,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);
@@ -120,6 +121,10 @@ tr.on_time {
tr.late {
background: #fc8;
}
+tr.early {
+ background: #def;
+ color: blue;
+}
tr.soldout {
background: pink;
@@ -137,7 +142,6 @@ tr.tDnD_whileDrag :nth-child(4), tr.tDnD_whileDrag :nth-child(5) {