projects
/
order_line_extra.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5252519
)
Fix quantity column format.
author
Maxime Bourget
<bmx007@gmail.com>
Mon, 6 May 2013 19:32:30 +0000
(20:32 +0100)
committer
Maxime Bourget
<bmx007@gmail.com>
Mon, 6 May 2013 19:32:30 +0000
(20:32 +0100)
order_lines_view.php
patch
|
blob
|
history
diff --git
a/order_lines_view.php
b/order_lines_view.php
index acbaaefc8a4fc873a54782ea1a9066caee77d9bf..2b53170d4963c9a506ac64243591131b8eda3a6b 100644
(file)
--- 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' => '')
'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' => '')
);
,_("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'),
_("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'),
_("Amount") => array('ord' => '', 'type' => 'amount'),
_("required date") => array('ord' => '', 'type' => 'date'),
_("Comments") => array('ord' => '', 'fun' => 'aggregate_comment'),