ergänzung cherry-pick: form->format_sellprice existiert nicht
authorJan Büren <jan@kivitendo-premium.de>
Wed, 4 Jul 2018 10:51:20 +0000 (12:51 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Mon, 9 Jul 2018 09:54:05 +0000 (11:54 +0200)
SL/Controller/BankTransaction.pm

index c8738d8..5dea0c5 100644 (file)
@@ -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;