From 37be5dfe10abacf6349f94c93d0f0abe1f0ca86e Mon Sep 17 00:00:00 2001 From: "G. Richardson" Date: Wed, 6 May 2015 17:47:40 +0200 Subject: [PATCH] =?utf8?q?Bankerweiterung:=20bei=20Zahlungsartauswahl=20au?= =?utf8?q?f=20Skonto=20pr=C3=BCfen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/Payment.pm | 1 + 1 file changed, 1 insertion(+) 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) ) { -- 2.20.1