Überflüssigen/unwirksamen Code entfernt.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 6 Mar 2007 14:40:09 +0000 (14:40 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 6 Mar 2007 14:40:09 +0000 (14:40 +0000)
SL/GL.pm

index 527b69b..e792710 100644 (file)
--- a/SL/GL.pm
+++ b/SL/GL.pm
@@ -75,9 +75,6 @@ sub post_transaction {
   # check if debit and credit balances
 
   if ($form->{storno}) {
-    $debit               = $debit * -1;
-    $credit              = $credit * -1;
-    $tax                 = $tax * -1;
     $form->{reference}   = "Storno-" . $form->{reference};
     $form->{description} = "Storno-" . $form->{description};
   }