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:
2b88044
)
GDPDU-DATEV-Export: Zeilenumbrüche durch Leerzeichen ersetzen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 3 Nov 2015 08:20:33 +0000
(09:20 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 28 Oct 2016 15:11:19 +0000
(17:11 +0200)
SL/GDPDU.pm
patch
|
blob
|
history
diff --git
a/SL/GDPDU.pm
b/SL/GDPDU.pm
index
12d872d
..
8d86bc4
100644
(file)
--- a/
SL/GDPDU.pm
+++ b/
SL/GDPDU.pm
@@
-420,6
+420,8
@@
sub do_datev_csv_export {
(map { ($_ => ($haben->{$_} // $soll->{$_})) } qw(acc_trans_id invnumber name vcnumber transdate itime customer_id vendor_id)),
);
+ $row{$_} =~ s/\r?\n/ /g for @datev_columns; # see CAVEATS
+
$csv->print($fh, [ map { $row{$_} } @datev_columns ]);
}