Steuerbetraege wurden beim Drucken ohne Nachkommstelle angezeigt
authorPhilip Reetz <p.reetz@linet-services.de>
Thu, 17 Nov 2005 10:06:32 +0000 (10:06 +0000)
committerPhilip Reetz <p.reetz@linet-services.de>
Thu, 17 Nov 2005 10:06:32 +0000 (10:06 +0000)
SL/IS.pm

index 540c874..8664b99 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -269,7 +269,7 @@ sub invoice_details {
 
       $tax += $taxamount = $form->round_amount($taxaccounts{$item}, 2);
 
-      push(@{ $form->{tax} }, $form->format_amount($myconfig, $taxamount));
+      push(@{ $form->{tax} }, $form->format_amount($myconfig, $taxamount, 2));
       push(@{ $form->{taxdescription} }, $form->{"${item}_description"});
       push(@{ $form->{taxrate} },
            $form->format_amount($myconfig, $form->{"${item}_rate"} * 100));