Revision cedce12e
Von Bernd Bleßmann vor etwa 2 Jahren hinzugefügt
| SL/Model/Record.pm | ||
|---|---|---|
|
# rückgabe: nichts
|
||
|
# fehler: exception
|
||
|
|
||
|
$record->calculate_prices_and_taxes() if $params{calculate_prices_and_taxes}; # flag or type data?
|
||
|
$record->calculate_prices_and_taxes() if $record->type_data->features('price_tax');
|
||
|
|
||
|
foreach my $item (@{ $record->items }) {
|
||
|
# autovivify all cvars that are not in the form (cvars_by_config can do it).
|
||
Auch abrufbar als: Unified diff
Model::Record: Preise und Steuern berechnen oder nicht nach Beleg-Typ (TypeData)