Revision 280f80fa
Von wernerh vor mehr als 1 Jahr hinzugefügt
SL/Controller/DispositionManager.pm | ||
---|---|---|
191 | 191 |
); |
192 | 192 |
|
193 | 193 |
my $price_source = SL::PriceSource->new(record_item => $current_order_item, record => $order); |
194 |
$current_order_item->sellprice($price_source->best_price->price); |
|
195 |
$current_order_item->active_price_source($price_source->best_price->source); |
|
194 |
|
|
195 |
$current_order_item->sellprice($price_source->best_price ? $price_source->best_price->price : 0); |
|
196 |
$current_order_item->active_price_source($price_source->best_price ? $price_source->best_price->source : ''); |
|
196 | 197 |
push(@items, $current_order_item); |
197 | 198 |
} |
198 | 199 |
} |
Auch abrufbar als: Unified diff
Dispositionsmanager Debug raus