projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddff6b6
)
Revert "DATEV: Umsatz von 0 zulassen"
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 18 Dec 2017 12:41:12 +0000
(13:41 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 18 Dec 2017 12:46:52 +0000
(13:46 +0100)
This reverts commit
f7a1243e53114c1917ea0836a5839ed0918553b4
.
SL/DATEV/CSV.pm
patch
|
blob
|
history
diff --git
a/SL/DATEV/CSV.pm
b/SL/DATEV/CSV.pm
index
18389fe
..
c06ee70
100644
(file)
--- a/
SL/DATEV/CSV.pm
+++ b/
SL/DATEV/CSV.pm
@@
-22,7
+22,7
@@
my @kivitendo_to_datev = (
max_length => 13,
type => 'Value',
required => 1,
- input_check => sub { my ($input) = @_; return (looks_like_number($input) && length($input) <= 13 && $input >
=
0) },
+ input_check => sub { my ($input) = @_; return (looks_like_number($input) && length($input) <= 13 && $input > 0) },
formatter => \&_format_amount,
valid_check => sub { my ($check) = @_; return ($check =~ m/^\d{1,10}(\,\d{1,2})?$/) },
},