//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();
}
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'])
// 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);
tr.late {
background: #fc8;
}
+tr.early {
+ background: #def;
+ color: blue;
+}
tr.soldout {
background: pink;
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="js/jquery.tablednd.0.8.min.js"></script>
<script text="text/javascript">
- console.log('hello')
/** add table DnD as behavior **/
function onDragStart (table, row) {
console.log(table)