From dfe03f5cda27ebdd089f021a900f140ac92c92a0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Wed, 4 Jul 2018 12:51:20 +0200 Subject: [PATCH] =?utf8?q?erg=C3=A4nzung=20cherry-pick:=20form->format=5Fs?= =?utf8?q?ellprice=20existiert=20nicht?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/BankTransaction.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index c8738d8d4..5dea0c55f 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -185,7 +185,8 @@ sub action_list { ($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)); + $open_invoice->{realamount} = $::form->format_amount(\%::myconfig, + $open_invoice->amount * ($open_invoice->{is_ar} ? 1 : -1), 2); } my $agreement = 15; -- 2.20.1