X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a87694dc525b4eabff11029f1e5401621e2bd3bc..0e470b13db4ca16d13d406ad56f9b1714d8c831b:/SL/DB/Helper/Payment.pm diff --git a/SL/DB/Helper/Payment.pm b/SL/DB/Helper/Payment.pm index baa23668e..9ac3a67c3 100644 --- a/SL/DB/Helper/Payment.pm +++ b/SL/DB/Helper/Payment.pm @@ -551,6 +551,7 @@ sub get_payment_select_options_for_bank_transaction { my @options; if ( $open_amount && # invoice amount not 0 + $self->skonto_date && # check whether skonto applies abs(abs($self->amount_less_skonto) - abs($bt->amount)) < 0.01 && $self->check_skonto_configuration) { if ( $self->within_skonto_period($bt->transdate) ) {