X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1a3b9961184e9321c4e6e034643fdfc6a640603e..17f43ff5eed41ff4fe630fd874905cacf4f763d8:/SL/DB/BankTransaction.pm diff --git a/SL/DB/BankTransaction.pm b/SL/DB/BankTransaction.pm index 8c26cd40a..1d8705e9a 100644 --- a/SL/DB/BankTransaction.pm +++ b/SL/DB/BankTransaction.pm @@ -47,7 +47,7 @@ sub linked_invoices { return [ @linked_invoices ]; } -sub is_collective_transaction { +sub is_batch_transaction { $_[0]->transaction_code eq "191"; } @@ -78,14 +78,14 @@ sub get_agreement_with_invoice { skonto_exact_amount => 5, wrong_sign => -1, sepa_export_item => 5, - collective_sepa_transaction => 20, + batch_sepa_transaction => 20, ); my ($agreement,$rule_matches); - if ( $self->is_collective_transaction && $self->{sepa_export_ok}) { - $agreement += $points{collective_sepa_transaction}; - $rule_matches .= 'collective_sepa_transaction(' . $points{'collective_sepa_transaction'} . ') '; + if ( $self->is_batch_transaction && $self->{sepa_export_ok}) { + $agreement += $points{batch_sepa_transaction}; + $rule_matches .= 'batch_sepa_transaction(' . $points{'batch_sepa_transaction'} . ') '; } # compare banking arrangements