X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=item_schedule.php;h=accb8da14034b75e4b37561ccb3dd7a7ad2f82b2;hb=cac7335b5528b1eca9cc02ca7bc9760a080b676f;hp=ef34297e5dde32b70620f572c4a4914634f34580;hpb=a494aa2bcdea4ed718b419b55adbcbabc5f2a5e9;p=order_line_extra.git diff --git a/item_schedule.php b/item_schedule.php index ef34297..accb8da 100644 --- a/item_schedule.php +++ b/item_schedule.php @@ -19,6 +19,8 @@ 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(); @@ -38,12 +40,6 @@ start_form(); start_table(TABLESTYLE_NOBORDER); start_row(); -echo date('h:i:s
',time()); -?>GETPOSTactivate('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(); @@ -71,17 +69,17 @@ if(isset($stock_id)) echo 'needsUpdate()) { + submit_center_first('Update', _("Update"), '', 'default', false); + submit_center_last('Cancel', _("Cancel"), '', 'cancel', false); +}