Revision 3800c37e
Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt
SL/DATEV/CSV.pm | ||
---|---|---|
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);
|
Auch abrufbar als: Unified diff
Revert "DATEV: auch Punkte in UStID-Nummern automatisch entfernen"
This reverts commit 93f06915a1f2444585aeb8ed32f849d08da7b07a.