Revision ecf5e303
Von Jan Büren vor mehr als 9 Jahren hinzugefügt
SL/Controller/DeliveryPlan.pm | ||
---|---|---|
127 | 127 |
my %orderitems_by_id = map { $_->id => $_ } @$orderitems; |
128 | 128 |
|
129 | 129 |
my $query = <<SQL; |
130 |
SELECT oi.id, doi.qty, doi.qty, doi.unit, doe.delivered
|
|
130 |
SELECT oi.id, doi.qty, doi.unit, doe.delivered |
|
131 | 131 |
FROM record_links rl |
132 | 132 |
INNER JOIN delivery_order_items doi ON (doi.delivery_order_id = rl.to_id) |
133 | 133 |
INNER JOIN delivery_orders doe ON (doe.id = rl.to_id) |
Auch abrufbar als: Unified diff
typo in SQL-Query