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:
29675d6
)
DATEV::CSV Bessere wartbarer Aufruf für _format_amount
author
Jan Büren
<jan@kivitendo-premium.de>
Wed, 8 Nov 2017 16:33:18 +0000
(17:33 +0100)
committer
Jan Büren
<jan@kivitendo-premium.de>
Wed, 8 Nov 2017 16:34:29 +0000
(17:34 +0100)
SL/DATEV/CSV.pm
patch
|
blob
|
history
diff --git
a/SL/DATEV/CSV.pm
b/SL/DATEV/CSV.pm
index
45bd5f6
..
4a5fb9e
100644
(file)
--- a/
SL/DATEV/CSV.pm
+++ b/
SL/DATEV/CSV.pm
@@
-20,7
+20,7
@@
my @kivitendo_to_datev = (
type => 'Value',
required => 1,
input_check => sub { my ($input) = @_; return (looks_like_number($input) && length($input) <= 13) },
- formatter =>
sub { my ($input) = @_; return _format_amount($input) }
,
+ formatter =>
\&_format_amount
,
valid_check => sub { my ($check) = @_; return ($check =~ m/^\d{1,10}(\,\d{1,2})?$/) },
},
{