From 62302cce56932f84b98815964c1e1445f9543af2 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 3 Nov 2015 09:20:33 +0100 Subject: [PATCH] =?utf8?q?GDPDU-DATEV-Export:=20Zeilenumbr=C3=BCche=20durc?= =?utf8?q?h=20Leerzeichen=20ersetzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/GDPDU.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SL/GDPDU.pm b/SL/GDPDU.pm index 12d872dec..8d86bc483 100644 --- 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 ]); } -- 2.20.1