date_cells(_("from:"), 'OrdersAfterDate', '', null, -30);
date_cells(_("to:"), 'OrdersToDate', '', null, 1);
}
-locations_list_cells(_("Location:"), 'StockLocation', null, true);
+locations_list_cells(_("Location:"), 'StockLocation', null, true, true);
if($show_dates) {
end_row();
start_table(TABLESTYLE_NOBORDER);
start_row();
}
-stock_items_list_cells(_("Item:"), 'SelectStockFromList', null, true);
+stock_items_list_cells(_("Item:"), 'SelectStockFromList', null, true, true);
if (!@$_GET['popup'])
- customer_list_cells(_("Select a customer: "), 'customer_id', null, true);
+ customer_list_cells(_("Select a customer: "), 'customer_id', null, true, true);
if ($trans_type == ST_SALESQUOTE)
check_cells(_("Show All:"), 'show_all');
if ($trans_type == ST_SALESORDER)
$cols = array(
_("Order #") => array('fun'=>'view_link'),
- _("Ref"),
- _("Customer"),
+ _("Ref") => array('type' => 'sorder.reference', 'ord' => '') ,
+ _("Customer") => array('type' => 'debtor.name' , 'ord' => '') ,
_("Branch"),
_("Cust Order Ref"),
- _("Order Date") => 'date',
+ _("Order Date") => array('type' => 'date', 'ord' => ''),
_("Required By") =>array('type'=>'date', 'ord'=>''),
_("Delivery To"),
_("Order Total") => array('type'=>'amount', 'ord'=>''),
end_form();
end_page();
}
-?>
\ No newline at end of file
+?>