Revision f56f6f7a
Von Sven Schöling vor mehr als 7 Jahren hinzugefügt
SL/Helper/ShippedQty.pm | ||
---|---|---|
225 | 225 |
die "unknown reference '@{[ ref $obj ]}' for @{[ __PACKAGE__ ]}::write_to"; |
226 | 226 |
} |
227 | 227 |
} |
228 |
$self; |
|
228 | 229 |
} |
229 | 230 |
|
230 | 231 |
sub write_to_objects { |
... | ... | |
332 | 333 |
# delivered by oe_id |
333 | 334 |
my $delivered = $helper->delievered->{$oi->id}; |
334 | 335 |
|
336 |
# calculate and write_to can be chained: |
|
337 |
my $helper = SL::Helper::ShippedQty->new->calculate($orders)->write_to_objects; |
|
338 |
|
|
335 | 339 |
=head1 DESCRIPTION |
336 | 340 |
|
337 | 341 |
This module encapsulates the algorithm needed to compute the shipped qty for |
Auch abrufbar als: Unified diff
SL::Helper::ShippedQty: chaining vervollständigt und dokumentiert