From: Moritz Bunkus Date: Wed, 21 Oct 2020 09:35:39 +0000 (+0200) Subject: Dialogbuchen: falsche Steuerschlüssel nach Entfernen von Zeilen X-Git-Tag: kivitendo-mebil_0.1-0~9^2~738 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ab924a3008d313efb2081ab9bc191da2bf15808b;p=kivitendo-erp.git Dialogbuchen: falsche Steuerschlüssel nach Entfernen von Zeilen Steuersätze in den Werten von Selects werden inzwischen mit fünf Nachkommastellen formatiert. --- diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl index 533025748..e6abc5524 100644 --- a/bin/mozilla/gl.pl +++ b/bin/mozilla/gl.pl @@ -707,10 +707,10 @@ sub update { $form->{debitlock} = 1; } if ($debitcredit && $credittax) { - $form->{"taxchart_$i"} = "$notax_id--0.00"; + $form->{"taxchart_$i"} = "$notax_id--0.00000"; } if (!$debitcredit && $debittax) { - $form->{"taxchart_$i"} = "$notax_id--0.00"; + $form->{"taxchart_$i"} = "$notax_id--0.00000"; } $amount = ($form->{"debit_$i"} == 0) @@ -718,7 +718,7 @@ sub update { : $form->{"debit_$i"}; my $j = $#a; if (($debitcredit && $credittax) || (!$debitcredit && $debittax)) { - $form->{"taxchart_$i"} = "$notax_id--0.00"; + $form->{"taxchart_$i"} = "$notax_id--0.00000"; $form->{"tax_$i"} = 0; } my ($taxkey, $rate) = split(/--/, $form->{"taxchart_$i"}); @@ -1253,17 +1253,17 @@ sub post_transaction { $form->{debitlock} = 1; } if ($debitcredit && $credittax) { - $form->{"taxchart_$i"} = "$notax_id--0.00"; + $form->{"taxchart_$i"} = "$notax_id--0.00000"; } if (!$debitcredit && $debittax) { - $form->{"taxchart_$i"} = "$notax_id--0.00"; + $form->{"taxchart_$i"} = "$notax_id--0.00000"; } my $amount = ($form->{"debit_$i"} == 0) ? $form->{"credit_$i"} : $form->{"debit_$i"}; my $j = $#a; if (($debitcredit && $credittax) || (!$debitcredit && $debittax)) { - $form->{"taxchart_$i"} = "$notax_id--0.00"; + $form->{"taxchart_$i"} = "$notax_id--0.00000"; $form->{"tax_$i"} = 0; } my ($taxkey, $rate) = split(/--/, $form->{"taxchart_$i"});