X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=item_schedule.php;h=36b10b935b86acbb09900d50a25db7d9dfa1f999;hb=780a619068c2ddc37f7bda398dd0819860e13ff0;hp=6a7614f78086963a7b8d3ddaf6880d578c87fcfb;hpb=1d0bb79c8f3fa4c1d1de231f8d162e04d16758f1;p=order_line_extra.git diff --git a/item_schedule.php b/item_schedule.php index 6a7614f..36b10b9 100644 --- a/item_schedule.php +++ b/item_schedule.php @@ -1,4 +1,3 @@ - ',time()); +?>GETPOSTactivate('item_schedule'); + +//if (!@$_GET['popup']) start_form(); -if (!isset($_POST['stock_id'])) - $_POST['stock_id'] = get_global_stock_item(); - stock_costable_items_list_cells(_("Item:"), 'stock_id', $_POST['stock_id']); +$stock_id = $_POST['stock_id']; + stock_costable_items_list_cells(_("Item:"), 'stock_id', $stock_id); -end_row(); +end_row(); end_table(1); -submit_center_first('Update', _("Update"), true, '', 'default', true); -submit_center_last('Cancel', _("Cancel"), true, '', 'cancel', true); +$scheduler = new ItemScheduler($stock_id, 'DEF'); + +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(); - end_page(); + +end_form(); +div_end(); +end_page(); ?> + + + +