X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/47c3bf62b5126f914de54609b0cfbb29e0c033b4..eeb560af5b33f700fa0cefd5feeadfa6a1c61f1e:/SL/OE.pm diff --git a/SL/OE.pm b/SL/OE.pm index 3afd46262..95d60c36f 100644 --- a/SL/OE.pm +++ b/SL/OE.pm @@ -1075,9 +1075,9 @@ sub order_details { } if ($taxamount != 0) { - foreach my $item (split / /, $form->{"taxaccounts_$i"}) { - $taxaccounts{$item} += $taxamount * $form->{"${item}_rate"} / $taxrate; - $taxbase{$item} += $taxbase; + foreach my $accno (split / /, $form->{"taxaccounts_$i"}) { + $taxaccounts{$accno} += $taxamount * $form->{"${accno}_rate"} / $taxrate; + $taxbase{$accno} += $taxbase; } }