X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0cf83814de3ae95e0ac01430b8c0d2756949a86e..1d089d50f0f504b227dabbae611d9f028cc47656:/SL/DN.pm diff --git a/SL/DN.pm b/SL/DN.pm index 2b6cd63fd..291c99ced 100644 --- 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);