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:
791f2f0
)
Fix displayed required date
author
Maxime Bourget
<bmx007@gmail.com>
Mon, 3 Jun 2013 22:20:05 +0000
(23:20 +0100)
committer
Maxime Bourget
<bmx007@gmail.com>
Mon, 3 Jun 2013 22:20:05 +0000
(23:20 +0100)
includes/order_lines.inc
patch
|
blob
|
history
diff --git
a/includes/order_lines.inc
b/includes/order_lines.inc
index dc09a6bcf57d12ddd710fbadfdaa24ebf310e22e..891da684cd16f4e064109f87f0ac69bcaa64502b 100644
(file)
--- a/
includes/order_lines.inc
+++ b/
includes/order_lines.inc
@@
-196,7
+196,7
@@
function get_order_summary($location) {
, sum(sub.amount) as amount
, sum(greatest(least(sub.quantity, qoh.quantity - quantity_before), 0))
, sum(sub.amount*greatest(least(sub.quantity, qoh.quantity - quantity_before), 0)/sub.quantity)
- ,
`min(required_date)`
+ ,
min(`min(required_date)`)
, group_concat(distinct order_comment separator ';') as order_comment
, group_concat(distinct detail_comment separator ';') as detail_comment
FROM $sub sub