Revision 32753c88
Von Bernd Bleßmann vor fast 5 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
|
||
$item->price_factor_id(undef) if !$item->price_factor_id;
|
||
$item->project_id(undef) if !$item->project_id;
|
||
$item->discount($item->discount/100.0);
|
||
|
||
# autovivify all cvars that are not in the form (cvars_by_config can do it).
|
||
# workaround to pre-parse number-cvars (parse_custom_variable_values does not parse number values).
|
Auch abrufbar als: Unified diff
Workflow Rechnung->Auftrag (neuer Controller). Rabatt nicht mehr umrechnen
Das passiert jetzt in _make_record_item (siehe auch
"make_record(_item): discount-Feld richtig behandeln",
commit cd6bfeee2bf076f15f9fdf57806a7c42bdf1760e).
Dadurch wurde der Rabatt zweimal durch 100 geteilt.