]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DN.pm
Mahnungen: Auch zulassen, dass bei der Mahnungskonfiguration "0" als Anzahl Tage...
[mfinanz.git] / SL / DN.pm
index 2b6cd63fdd07501a87033a2f891422c3452ad76f..291c99ced1458882b2650b6895771ee61bfc0074 100644 (file)
--- a/SL/DN.pm
+++ b/SL/DN.pm
@@ -513,7 +513,7 @@ sub get_invoices {
   $form->{DUNNINGS} = [];
 
   while (my $ref = $sth->fetchrow_hashref(NAME_lc)) {
-    next if !$ref->{terms} || ($ref->{pastdue} < $ref->{terms});
+    next if ($ref->{pastdue} < $ref->{terms});
 
     $ref->{interest} = $form->round_amount($ref->{interest}, 2);
     push(@{ $form->{DUNNINGS} }, $ref);