Revision 8c1ef5db
Von Jan Büren vor etwa 7 Jahren hinzugefügt
SL/DATEV/CSV.pm | ||
---|---|---|
106 | 106 |
formatter => sub { my ($input) = @_; return substr($input, 0, 12) }, |
107 | 107 |
}, |
108 | 108 |
{ |
109 |
kivi_datev_name => 'belegfeld2',
|
|
109 |
kivi_datev_name => 'not yet implemented',
|
|
110 | 110 |
csv_header_name => t8('Invoice Field 2'), |
111 | 111 |
max_length => 12, |
112 | 112 |
type => 'Text', |
113 | 113 |
default => '', |
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}$/) }, |
|
114 |
valid_check => sub { my ($check) = @_; return ($check =~ m/[ -~]{1,12}/) }, |
|
117 | 115 |
}, |
118 | 116 |
{ |
119 | 117 |
kivi_datev_name => 'not yet implemented', |
Auch abrufbar als: Unified diff
Revert "DATEV belegfeld2 wieder als Fälligkeitsfeld im Format DDMMYY implementiert"
This reverts commit 982f53983fed52367985246082546fda053d59d5.