From c5e23a3f72b184822b7581e157f88a4b36c2fbc0 Mon Sep 17 00:00:00 2001 From: Maxime Bourget Date: Mon, 6 May 2013 20:32:30 +0100 Subject: [PATCH] Fix quantity column format. --- order_lines_view.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/order_lines_view.php b/order_lines_view.php index acbaaef..2b53170 100644 --- a/order_lines_view.php +++ b/order_lines_view.php @@ -72,7 +72,7 @@ if($customer_id) { 'detail_id' => 'skip' , _("Order #") => array('fun'=>'view_link', 'ord' => '') ,_("Item Code") => array('ord' => '') - ,_("Quantity") => array('type' => 'qty') + ,_("Quantity") => array('type' => 'qty', 'dec' => 0) ,_("Required Date") => array('fun' => 'input_date_details', 'ord' => '') ,_("Comment") => array('fun' => 'input_comment_details', 'ord' => '') ); @@ -84,7 +84,7 @@ else { _("Customer") => array('ord' => '', 'fun' => 'customer_link'), _("Branch") => array('ord' => ''), _("Delivery Date") => array('ord' => '', 'type' => 'date'), -_("Quantity") => array('ord' => ''), +_("Quantity") => array('ord' => '', 'type' => 'qty', 'dec' => 0), _("Amount") => array('ord' => '', 'type' => 'amount'), _("required date") => array('ord' => '', 'type' => 'date'), _("Comments") => array('ord' => '', 'fun' => 'aggregate_comment'), -- 2.30.2