]> wagnertech.de Git - mfinanz.git/commitdiff
Mahnungen: In Übersicht zu viele Nachkommastellen
authorMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Thu, 17 Nov 2016 06:50:39 +0000 (07:50 +0100)
committerMartin Helmling martin.helmling@octosoft.eu <martin.helmling@octosoft.eu>
Mon, 21 Nov 2016 15:56:44 +0000 (16:56 +0100)
Hier war ein format_amount von -2 .

fix #5288

bin/mozilla/dn.pl

index 8008f25cac4137e391db24bc115d44c4cb61b93c..a56c3a10c42e57c71d885e65459456d4fcc28598 100644 (file)
@@ -133,7 +133,7 @@ sub show_invoices {
     if ($row->{next_dunning_config_id}) {
       map { $_->{SELECTED} = $_->{id} == $row->{next_dunning_config_id} } @{ $row->{DUNNING_CONFIG } };
     }
-    map { $row->{$_} = $form->format_amount(\%myconfig, $row->{$_} * 1, -2) } qw(amount open_amount fee interest);
+    map { $row->{$_} = $form->format_amount(\%myconfig, $row->{$_} * 1, 2) } qw(amount open_amount fee interest);
 
     if ($row->{'language_id'}) {
       $row->{language} = SL::DB::Manager::Language->find_by_or_create('id' => $row->{'language_id'})->{'description'};