]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Controller/BankTransaction.pm
ergänzung cherry-pick: form->format_sellprice existiert nicht
[kivitendo-erp.git] / SL / Controller / BankTransaction.pm
index c8738d8d4c8b9d424c5653c283f17e07539edb62..5dea0c55f9c7b26485166fbc5e003357d170728c 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;