- _("Quote #") => array('fun'=>'view_link'),
- _("Ref"),
- _("Customer"),
- _("Branch"),
- _("Cust Order Ref"),
- _("Quote Date") => 'date',
- _("Valid until") =>array('type'=>'date', 'ord'=>''),
- _("Delivery To"),
- _("Quote Total") => array('type'=>'amount', 'ord'=>''),
- 'Type' => 'skip',
- _("Currency") => array('align'=>'center')
- );
-if ($_POST['order_view_mode'] == 'OutstandingOnly') {
- //array_substitute($cols, 4, 1, _("Cust Order Ref"));
- array_append($cols, array(
- array('insert'=>true, 'fun'=>'dispatch_link'),
- array('insert'=>true, 'fun'=>'edit_link')));
-
-} elseif ($_POST['order_view_mode'] == 'InvoiceTemplates') {
- array_substitute($cols, 4, 1, _("Description"));
- array_append($cols, array( array('insert'=>true, 'fun'=>'invoice_link')));
-
-} else if ($_POST['order_view_mode'] == 'DeliveryTemplates') {
- array_substitute($cols, 4, 1, _("Description"));
- array_append($cols, array(
- array('insert'=>true, 'fun'=>'delivery_link'))
+ 'customer id' => 'skip',
+_("Customer") => array('ord' => '', 'fun' => 'customer_link'),
+_("Branch") => array('ord' => ''),
+_("Delivery Date") => array('ord' => '', 'type' => 'date'),
+_("Quantity") => array('ord' => '', 'type' => 'qty', 'dec' => 0),
+_("Amount") => array('ord' => '', 'type' => 'amount'),
+_("required date") => array('ord' => '', 'type' => 'date'),
+_("Comments") => array('ord' => '', 'fun' => 'aggregate_comment'),
+_("comment 2 ") => 'skip'