]> wagnertech.de Git - mfinanz.git/blobdiff - SL/USTVA.pm
Uebernahme der kompletten Version, so wie sie Philip als "Demo-Version" gezeigt hat...
[mfinanz.git] / SL / USTVA.pm
index f1bd2a0340e2f9cbaa0474002e3251198fbdc75c..84dc4f3122f246bb9687f730df6a1533e71e2e0f 100644 (file)
@@ -861,18 +861,14 @@ sub get_accounts_ustva {
   my $accno;
   my $ref;
 
-  # Show all $query in Debuglevel LXDebug::QUERY
-  $callingdetails = (caller (0))[3];
-  $main::lxdebug->message(LXDebug::QUERY, "$callingdetails \$query=\n $query");
-              
+  #print $query;
   my $sth = $dbh->prepare($query);
   $sth->execute || $form->dberror($query);
 
   while ($ref = $sth->fetchrow_hashref(NAME_lc)) {
-# Bug 365 solved?!
-#    if ($ref->{amount} < 0) {
+    if ($ref->{amount} < 0) {
       $ref->{amount} *= -1;
-#    }
+    }
     if ($category eq "pos_bwa") {
       if ($last_period) {
         $form->{ $ref->{$category} }{kumm} += $ref->{amount};