projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Leeren String in undef für anständige DB-Abfrage umwandeln
[kivitendo-erp.git]
/
SL
/
DATEV.pm
diff --git
a/SL/DATEV.pm
b/SL/DATEV.pm
index
60eb97f
..
775d4df
100644
(file)
--- a/
SL/DATEV.pm
+++ b/
SL/DATEV.pm
@@
-399,8
+399,9
@@
sub _get_transactions {
my $count = $ref->{amount};
my $firstrun = 1;
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);
my $ref2 = $sth->fetchrow_hashref("NAME_lc");
last unless ($ref2);