Merge branch 'master' of vc.linet-services.de:public/lx-office-erp
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 3 Apr 2012 14:32:25 +0000 (16:32 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 3 Apr 2012 14:32:25 +0000 (16:32 +0200)
SL/DATEV.pm

index 8d6a63d..bfb48d0 100644 (file)
@@ -429,8 +429,7 @@ sub _get_transactions {
       if (   !$ref->{invoice}   # we have a non-invoice booking (=gl)
           &&  $ref->{is_tax}    # that has "is_tax" set
           && !($prev_ref->{is_tax})  # previous line wasn't is_tax
-          &&  (_sign($ref->{amount}) == _sign($prev_ref->{amount})))  # and sign same as previous sign
-          {
+          &&  (_sign($ref->{amount}) == _sign($prev_ref->{amount}))) {  # and sign same as previous sign
         $trans->[$i - 1]->{tax_amount} = $ref->{amount};
       }
     }