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:
050cd2d
)
Revert "DATEV: auch Punkte in UStID-Nummern automatisch entfernen"
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 15 Dec 2017 12:44:17 +0000
(13:44 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 15 Dec 2017 12:44:17 +0000
(13:44 +0100)
This reverts commit
93f06915a1f2444585aeb8ed32f849d08da7b07a
.
SL/DATEV/CSV.pm
patch
|
blob
|
history
diff --git
a/SL/DATEV/CSV.pm
b/SL/DATEV/CSV.pm
index
6ac460c
..
18389fe
100644
(file)
--- a/
SL/DATEV/CSV.pm
+++ b/
SL/DATEV/CSV.pm
@@
-231,10
+231,10
@@
my @kivitendo_to_datev = (
input_check => sub {
my ($ustid) = @_;
return 1 if ('' eq $ustid);
- $ustid =~ s{
[\s.]
+}{}g;
+ $ustid =~ s{
\s
+}{}g;
return ($ustid =~ m/^CH|^[A-Z]{2}\w{5,13}$/);
},
- formatter => sub { my ($input) = @_; $input =~ s/
[\s.]+
//g; return $input },
+ formatter => sub { my ($input) = @_; $input =~ s/
\s
//g; return $input },
valid_check => sub {
my ($ustid) = @_;
return 1 if ('' eq $ustid);