Revision f8bc80e1
Von Werner Hahn vor mehr als 1 Jahr hinzugefügt
SL/Controller/DispositionManager.pm | ||
---|---|---|
22 | 22 |
with_objects => ['order'],); |
23 | 23 |
my ($not_delivered, $ordered) = 0; |
24 | 24 |
for my $openitem (@{ $openitems }) { |
25 |
if($openitem -> order -> type eq 'sales_order') {
|
|
25 |
if($openitem->order->type eq 'sales_order') {
|
|
26 | 26 |
$not_delivered += $openitem->qty - $openitem->shipped_qty; |
27 | 27 |
} elsif ( $openitem->order->type eq 'purchase_order' ) { |
28 | 28 |
$ordered += $openitem->qty - $openitem->delivered_qty; |
Auch abrufbar als: Unified diff
Dispositionsmanager: Typo