Revision a0c6ec81
Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt
| SL/Model/Record.pm | ||
|---|---|---|
|
$price_src = $price_source->best_price
|
||
|
? $price_source->best_price
|
||
|
: $price_source->price_from_source("");
|
||
|
$price_src->price($::form->round_amount($price_src->price / $record->exchangerate, 5)) if $record->exchangerate;
|
||
|
|
||
|
$price_src->price($::form->round_amount($price_src->price / $record->exchangerate, 5)) if $record->can('exchangerate') && $record->exchangerate;
|
||
|
$price_src->price(0) if !$price_source->best_price;
|
||
|
}
|
||
|
|
||
Auch abrufbar als: Unified diff
S:M:Record: Preis- und Rabattquellen: Wechselkurs nur für Belege, die einen haben