X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fio.pl;h=ae8f500bbe192c7c66e239d666c7a52760fdcb42;hb=58b14f96d6a7aab3bad2ffac3f8930793cf15a09;hp=0fe78fd2a0e542287804aa79973daaaf7574283b;hpb=342c174c0207e8d5d0ea0bd9b5eb7dc17c87d7b2;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 0fe78fd2a..ae8f500bb 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -254,9 +254,12 @@ 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) + . $form->format_amount(\%myconfig, $form->{"qty_$i"}, $qty_dec) . qq|>|; $column_data{ship} = qq|leave_sub(); }