]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DATEV/CSV.pm
Revert "DATEV: auch Punkte in UStID-Nummern automatisch entfernen"
[mfinanz.git] / SL / DATEV / CSV.pm
index 6ac460c442cfd09d436b1cd57bad4a54e5e7bb37..18389fe2e19e525be14a46be6c3e3d270483ed72 100644 (file)
@@ -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);