From e417dbcb2fd5032c60bf5432b3eac9d2796e639d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 28 Mar 2018 11:35:17 +0200 Subject: [PATCH] =?utf8?q?BankTransaction/list:=20vorhandene=20sepa=5Fexpo?= =?utf8?q?rt=5Fitems=20an=20get=5Fagreement=20=C3=BCbergeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Conflicts: SL/Controller/BankTransaction.pm --- SL/Controller/BankTransaction.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index ff391eaa9..c8738d8d4 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -182,9 +182,10 @@ sub action_list { # score is stored in $bt->{agreement} foreach my $open_invoice (@all_open_invoices) { - ($open_invoice->{agreement}, $open_invoice->{rule_matches}) = $bt->get_agreement_with_invoice($open_invoice); - $open_invoice->{realamount} = $::form->format_amount(\%::myconfig, - $open_invoice->amount * ($open_invoice->{is_ar} ? 1 : -1), 2); + ($open_invoice->{agreement}, $open_invoice->{rule_matches}) = $bt->get_agreement_with_invoice($open_invoice, + sepa_export_items => $all_open_sepa_export_items, + ); + $open_invoice->{realamount} = $::form->format_sellprice($open_invoice->amount * ($open_invoice->{is_ar} ? 1 : -1)); } my $agreement = 15; -- 2.20.1