From: Sven Schöling Date: Wed, 28 Mar 2018 09:35:17 +0000 (+0200) Subject: BankTransaction/list: vorhandene sepa_export_items an get_agreement übergeben X-Git-Tag: release-3.5.4~379 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e417dbcb2fd5032c60bf5432b3eac9d2796e639d;p=kivitendo-erp.git BankTransaction/list: vorhandene sepa_export_items an get_agreement übergeben Conflicts: SL/Controller/BankTransaction.pm --- 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;