$_SESSION['page_title'] = _($help_context = "Edit lines extra parameters");
+update_extra_order_details();
+
$js = "";
+if ($use_popup_windows)
+ $js .= get_js_open_window(900, 600);
+if ($use_date_picker)
+ $js .= get_js_date_picker();
page($_SESSION['page_title'], false, false, "", $js);
//---------------------------------------------------------------------------------------------
$cols = array(
- _("Order #") => array('fun'=>'view_link', 'ord' => '')
- ,_("Item Code") => array('ord' => '')
- ,_("Quantity")
-,_("Required Date") => array('type' => 'Date')
-,_("Comment")
+ 'detail_id' => 'skip'
+ , _("Order #") => array('fun'=>'view_link', 'ord' => '')
+ ,_("Item Code") => array('ord' => '')
+ ,_("Quantity") => array('type' => 'qty')
+ ,_("Required Date") => array('fun' => 'input_date_details', 'ord' => '')
+ ,_("Comment") => array('fun' => 'input_comment_details', 'ord' => '')
);
}
else {
$table->width = "80%";
display_db_pager($table);
-submit_center('Update', _("Update"), true, '', null);
+
+br(1);
+submit_center_first('Update', _("Update"), true, '', 'default', true);
+submit_center_last('Cancel', _("Cancel"), true, '', 'cancel', true);
end_form();
end_page();