2 include_once($path_to_root."/includes/ui/ui_input.inc");
3 function view_link($dummy, $order_no)
5 return get_customer_trans_view_str(ST_SALESORDER, $order_no);
8 function order_link($row)
10 return pager_link( _("Sales Order"),
11 "/sales/sales_order_entry.php?NewQuoteToSalesOrder=" .$row['order_no'], ICON_DOC);
14 function input_date_details($row, $date) {
17 <input type='text' value='$date' name='detail[$row_id][required_date]'>
21 function input_comment_details($row, $comment) {
24 <input type='text' value='$comment' name='detail[$row_id][comment]'>
28 function get_order_details_extra($customer_id) {
35 FROM ".TB_PREF."sales_order_details sod
36 JOIN ".TB_PREF."sales_orders so ON (so.order_no = sod.order_no
37 AND so.trans_type = sod.trans_type
38 AND so.debtor_no = $customer_id
40 WHERE quantity > qty_sent