From 1071846d7a4944ba7eee80339fd9ed507a7918a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 18 May 2011 10:24:03 +0200 Subject: [PATCH] Subcent Grenze auf 0.05 anheben. Akuter Fall von Geoffrey: habe einen neuen Fall wo es nicht klappt, mit meinem alten abs($count) > 0.005 aber schon. Unbalanced ledger! accno | amount -------+---------- 3310 | -0.06000 5400 | 0.05042 1406 | 0.00958 --- SL/DATEV.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DATEV.pm b/SL/DATEV.pm index 775d4dff7..e3cecef11 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -401,7 +401,7 @@ sub _get_transactions { my $firstrun = 1; my $subcent = abs($count) < 0.02; - while (abs($count) > 0.01 || $firstrun || ($subcent && abs($count) > 0.001)) { + while (abs($count) > 0.01 || $firstrun || ($subcent && abs($count) > 0.005)) { my $ref2 = $sth->fetchrow_hashref("NAME_lc"); last unless ($ref2); -- 2.20.1