Revision ea1df49d
Von Kivitendo Admin vor mehr als 8 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
$item->unit($part->unit) if !$item->unit;
|
||
|
||
my $price_src;
|
||
if ($item->sellprice) {
|
||
if ( $part->is_assortment ) {
|
||
# add assortment items with price 0, as the components carry the price
|
||
$price_src = $price_source->price_from_source("");
|
||
$price_src->price(0);
|
||
} elsif ($item->sellprice) {
|
||
$price_src = $price_source->price_from_source("");
|
||
$price_src->price($item->sellprice);
|
||
} else {
|
Auch abrufbar als: Unified diff
Order Controller - Sortimentsartikel mit Preis 0 hinzufügen