X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=item_schedule.php;h=36b10b935b86acbb09900d50a25db7d9dfa1f999;hb=ec082c8575d12126bd34cddfa7729f95b6af1e60;hp=329d6fcc6a276d933289758fbd202c54f4afc822;hpb=f32dac729c87051f52b61df2ccca7eff0300d7c0;p=order_line_extra.git diff --git a/item_schedule.php b/item_schedule.php index 329d6fc..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_id = $_POST['stock_id']; stock_costable_items_list_cells(_("Item:"), 'stock_id', $stock_id); + end_row(); end_table(1); -$scheduler = new ItemScheduler($stock_id); +$scheduler = new ItemScheduler($stock_id, 'DEF'); -div_start('item_schedule'); start_table(TABLESTYLE); $th = $scheduler->tableHeader(); @@ -65,14 +76,85 @@ table_header($th); $scheduler->generateTable(); end_table(); -div_end(); -submit_center_first('Update', _("Update"), true, '', 'default', true); -submit_center_last('Cancel', _("Cancel"), true, '', 'cancel', true); +submit_center_first('Update', _("Update"), '', 'default', false); +submit_center_last('Cancel', _("Cancel"), '', 'cancel', false); end_form(); +div_end(); end_page(); ?> + + + +