From: Jan Büren Date: Thu, 7 Apr 2022 12:19:08 +0000 (+0200) Subject: Zu Kontoauszug Zuordnung verbessern, alte Logik auch entfernen X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~56 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=b775c378552e6b5bf59f98046cdf4e577cd351df;p=kivitendo-erp.git Zu Kontoauszug Zuordnung verbessern, alte Logik auch entfernen --- diff --git a/SL/DB/BankTransaction.pm b/SL/DB/BankTransaction.pm index 8617a8146..b07cdf11f 100644 --- a/SL/DB/BankTransaction.pm +++ b/SL/DB/BankTransaction.pm @@ -110,14 +110,6 @@ sub get_agreement_with_invoice { $rule_matches .= 'remote_account_number(' . $points{'remote_account_number'} . ') '; } } - if ( $bank_code eq $self->remote_bank_code && $account_number eq $self->remote_account_number ) { - $agreement += $points{remote_account_number}; - $rule_matches .= 'remote_account_number(' . $points{'remote_account_number'} . ') '; - } - if ( $iban eq $self->remote_account_number ) { - $agreement += $points{remote_account_number}; - $rule_matches .= 'remote_account_number(' . $points{'remote_account_number'} . ') '; - } my $datediff = $self->transdate->{utc_rd_days} - $invoice->transdate->{utc_rd_days}; $invoice->{datediff} = $datediff;