<?php
+include_once($path_to_root."/includes/ui/ui_input.inc");
function view_link($dummy, $order_no)
{
return get_customer_trans_view_str(ST_SALESORDER, $order_no);
"/sales/sales_order_entry.php?NewQuoteToSalesOrder=" .$row['order_no'], ICON_DOC);
}
+function input_date_details($row, $date) {
+ return date_cells( null, 'name');
+
+}
+
+function input_comment_details($row, $comment) {
+ return label_cell($comment);
+}
+
function get_order_details_extra($customer_id) {
$sql = "SELECT so.order_no
, stk_code
$cols = array(
_("Order #") => array('fun'=>'view_link', 'ord' => '')
,_("Item Code") => array('ord' => '')
- ,_("Quantity")
-,_("Required Date") => array('type' => 'Date')
-,_("Comment")
+ ,_("Quantity") => array('type' => 'qty')
+,_("Required Date") => array('fun' => 'input_date_details')
+,_("Comment") => array('fun' => 'input_comment_details')
);
}
else {