projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc63cd4
)
typo in SQL-Query
author
Jan Büren
<jan@kivitendo-premium.de>
Mon, 28 Sep 2015 12:24:05 +0000
(14:24 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Mon, 28 Sep 2015 12:24:05 +0000
(14:24 +0200)
SL/Controller/DeliveryPlan.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/DeliveryPlan.pm
b/SL/Controller/DeliveryPlan.pm
index
cc74b99
..
e741e22
100644
(file)
--- a/
SL/Controller/DeliveryPlan.pm
+++ b/
SL/Controller/DeliveryPlan.pm
@@
-127,7
+127,7
@@
sub calc_qtys {
my %orderitems_by_id = map { $_->id => $_ } @$orderitems;
my $query = <<SQL;
- SELECT oi.id, doi.qty, doi.
qty, doi.
unit, doe.delivered
+ SELECT oi.id, doi.qty, doi.unit, doe.delivered
FROM record_links rl
INNER JOIN delivery_order_items doi ON (doi.delivery_order_id = rl.to_id)
INNER JOIN delivery_orders doe ON (doe.id = rl.to_id)