X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDATEV.pm;h=775d4dff714549bbb7377cbee79286fdef025021;hb=cdaddc5ab3c569585e39ee9e3f11260ae2336fea;hp=60eb97f904def421538aa18eccfa2c3896fb2570;hpb=d18df453f55190d4807af324725ea82a8835d7fc;p=kivitendo-erp.git diff --git a/SL/DATEV.pm b/SL/DATEV.pm index 60eb97f90..775d4dff7 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -399,8 +399,9 @@ sub _get_transactions { my $count = $ref->{amount}; my $firstrun = 1; + my $subcent = abs($count) < 0.02; - while (abs($count) > 0.01 || $firstrun) { + while (abs($count) > 0.01 || $firstrun || ($subcent && abs($count) > 0.001)) { my $ref2 = $sth->fetchrow_hashref("NAME_lc"); last unless ($ref2);