X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/bf10f3138d563538d95d93d572738d07d8fd6fa4..e44cbe168d7cdaedc952a23102d8c834bd3a2993:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 0fe78fd2a..c0ab3dc9a 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -254,10 +254,13 @@ sub display_row { qq||; } + (my $qty_dec) = ($form->{"qty_$i"} =~ /\.(\d+)/); + $qty_dec = length $qty_dec; + $column_data{qty} = - qq|format_amount(\%myconfig, $form->{"qty_$i"}, 0) - . qq|>|; + qq|format_amount(\%myconfig, $form->{"qty_$i"}, $qty_dec) + .qq|>|; $column_data{ship} = qq|format_amount(\%myconfig, $form->{"ship_$i"})