]> wagnertech.de Git - mfinanz.git/blobdiff - SL/RP.pm
behebt #123 Ist-Versterungs-Auswahl für SuSa
[mfinanz.git] / SL / RP.pm
index 0b4dea9ec94076498a9cf9d2af0575b948261c3c..f0f25a235d8def4ab8eda6f3714ab61ada719f8e 100644 (file)
--- a/SL/RP.pm
+++ b/SL/RP.pm
@@ -909,7 +909,7 @@ sub trial_balance {
   }
   $sth->finish;
 
-  if (!$form->{method} ne "cash") {
+  if ($form->{method} ne "cash") {  # better eq 'accrual'
     $sth = prepare_execute_query($form, $dbh, $fetch_accounts_before_from);
     while ($ref = $sth->fetchrow_hashref("NAME_lc")) {
       $trb{ $ref->{accno} }{description} = $ref->{description};