X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=a89a311979145591a7e1457ba90f41964b59bc22;hb=853991311bc6804da985219eb28d86114e359cc6;hp=377423d43b539826dc3e260ddc98f47ed0b6005f;hpb=e47236274c273b267417094489eb8ab5ec492c7a;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 377423d43..a89a31197 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -919,7 +919,6 @@ sub order { $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). @@ -1661,7 +1660,7 @@ sub relink_accounts { $form->{"taxaccounts"} =~ s/\s*$//; $form->{"taxaccounts"} =~ s/^\s*//; foreach my $accno (split(/\s*/, $form->{"taxaccounts"})) { - map({ delete($form->{"${accno}_${_}"}); } qw(rate description taxnumber)); + map({ delete($form->{"${accno}_${_}"}); } qw(rate description taxnumber tax_id)); # add tax_id ? } $form->{"taxaccounts"} = "";