From 1c46843f9e08f6878ea1290d1d69a38dff9178bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 27 Jan 2020 13:54:48 +0100 Subject: [PATCH] =?utf8?q?S:DATEV:CSV:=20L=C3=A4ngenbegrenzung=20bei=20buc?= =?utf8?q?hungstext=20wieder=20rein?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Flog mit "Fixt #348 DatevExport kommt mit bestimmten Zeichen im Buchungstext nicht klar" (commit 324726acd30b8992854a2d59fec2a50265613eef) raus. War sicher ein Versehen. --- SL/DATEV/CSV.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/SL/DATEV/CSV.pm b/SL/DATEV/CSV.pm index 05cc309c2..65f6cf0d1 100644 --- a/SL/DATEV/CSV.pm +++ b/SL/DATEV/CSV.pm @@ -134,6 +134,7 @@ my @kivitendo_to_datev = ( my ($text) = @_; check_encoding($text); }, valid_check => sub { return 1 if $::instance_conf->get_datev_export_format eq 'cp1252'; my ($text) = @_; check_encoding($text); }, + formatter => sub { my ($input) = @_; return substr($input, 0, 60) }, }, # pos 14 { kivi_datev_name => 'not yet implemented', -- 2.20.1