From 55e3ae55736fffbff86b07f3d27e382170798177 Mon Sep 17 00:00:00 2001 From: "Martin Helmling martin.helmling@octosoft.eu" Date: Sun, 12 Feb 2017 10:33:20 +0100 Subject: [PATCH] =?utf8?q?Kontoauszug=20verbuchen:=20Banktransaktionen=20m?= =?utf8?q?it=20Fehlern=20nicht=20z=C3=A4hlen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Die OK Anzeige der Anzahl gebuchter Transaktionen ohne fehlerhafte Buchungen --- SL/Controller/BankTransaction.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SL/Controller/BankTransaction.pm b/SL/Controller/BankTransaction.pm index 8bc3317ae..e632631ca 100644 --- a/SL/Controller/BankTransaction.pm +++ b/SL/Controller/BankTransaction.pm @@ -511,6 +511,9 @@ sub save_invoices { $count += scalar( @{$invoice_ids} ); } } + foreach (@{ $self->problems }) { + $count-- if $_->{result} eq 'error'; + } return $count; } -- 2.20.1