Revision 46ad9a06
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
2075 | 2075 |
); |
2076 | 2076 |
} |
2077 | 2077 |
|
2078 |
my $objects_to_close = SL::DB::Manager::Order->get_all(where => [id => \@converted_from_oe_ids, quotation => 1]); |
|
2078 |
my $objects_to_close = scalar @converted_from_oe_ids |
|
2079 |
? SL::DB::Manager::Order->get_all(where => [id => \@converted_from_oe_ids, quotation => 1]) |
|
2080 |
: undef; |
|
2079 | 2081 |
|
2080 | 2082 |
my $items_to_delete = scalar @{ $self->item_ids_to_delete || [] } |
2081 | 2083 |
? SL::DB::Manager::OrderItem->get_all(where => [id => $self->item_ids_to_delete]) |
Auch abrufbar als: Unified diff
Order-Controller: Leere Liste für objects_to_close abfangen