Revision d743ef95
Von Jan Büren vor etwa 7 Jahren hinzugefügt
SL/DATEV/CSV.pm | ||
---|---|---|
111 | 111 |
max_length => 12, |
112 | 112 |
type => 'Text', |
113 | 113 |
default => '', |
114 |
input_check => sub { my ($check) = @_; return 1 unless $check; return (ref (DateTime->from_kivitendo($check)) eq 'DateTime') },
|
|
115 |
formatter => sub { my ($input) = @_; return DateTime->from_kivitendo($input)->strftime('%d%m%y') },
|
|
116 |
valid_check => sub { my ($check) = @_; return ($check =~ m/^[0-9]{6}$/) },
|
|
114 |
input_check => sub { my ($check) = @_; return (ref (DateTime->from_kivitendo($check)) eq 'DateTime') }, |
|
115 |
formatter => sub { my ($input) = @_; return DateTime->from_kivitendo($input)->strftime('%d%m') }, |
|
116 |
valid_check => sub { my ($check) = @_; return ($check =~ m/^[0-9]{4}$/) },
|
|
117 | 117 |
}, |
118 | 118 |
{ |
119 | 119 |
kivi_datev_name => 'not yet implemented', |
Auch abrufbar als: Unified diff
Revert "DATEV:CSV nicht gesetztes Fälligkeitsdatum für Belegfeld2 akzeptieren"
This reverts commit e9eaca9380ad2f3062d6b8cb75376a7d01559af9.