--- /dev/null
+
+<?php
+/**********************************************************************
+ Copyright (C) FrontAccounting, LLC.
+ Released under the terms of the GNU General Public License, GPL,
+ as published by the Free Software Foundation, either version 3
+ of the License, or (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
+***********************************************************************/
+$path_to_root = "../..";
+
+include_once($path_to_root . "/includes/session.inc");
+include_once($path_to_root . "/includes/ui/ui_lists.inc");
+include_once($path_to_root . "/includes/ui/ui_globals.inc");
+include_once($path_to_root . "/includes/ui/ui_input.inc");
+include_once($path_to_root . "/reporting/includes/reporting.inc");
+
+//include_once("includes/item_schedule.inc");
+
+$page_security = 'SA_ORDERLINEX_EDIT';
+add_access_extensions();
+
+$_SESSION['page_title'] = _($help_context = "Item schedule");
+
+
+$js = "";
+page($_SESSION['page_title'], false, false, "", $js);
+
+//---------------------------------------------------------------------------------------------
+
+start_form();
+
+start_table(TABLESTYLE_NOBORDER);
+start_row();
+
+if (isset($_GET['stock_id']))
+{
+ $_POST['stock_id'] = $_GET['stock_id'];
+}
+
+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']);
+
+end_row();
+
+end_table(1);
+
+submit_center_first('Update', _("Update"), true, '', 'default', true);
+submit_center_last('Cancel', _("Cancel"), true, '', 'cancel', true);
+
+ end_form();
+ end_page();
+?>
$cols = array(
'detail_id' => 'skip'
, _("Order #") => array('fun'=>'view_link', 'ord' => '')
- ,_("Item Code") => array('ord' => '')
+ ,_("Item Code") => array('ord' => '', 'fun' => 'item_link')
,_("Quantity") => array('type' => 'qty', 'dec' => 0)
,_("Required Date") => array('fun' => 'input_date_details', 'ord' => '')
,_("Comment") => array('fun' => 'input_comment_details', 'ord' => '')