From b55d5bb480a23e57c9d927d330465b36cff10b53 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 2 Nov 2017 12:50:00 +0100 Subject: [PATCH] DATEV: Warnungen as DATEV::CSV auch weiterreichen --- SL/DATEV.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SL/DATEV.pm b/SL/DATEV.pm index 0c5101541..0b24d4898 100644 --- a/SL/DATEV.pm +++ b/SL/DATEV.pm @@ -376,11 +376,11 @@ sub csv_export { $self->generate_datev_data(from_to => $self->fromto); return if $self->errors; - my $datev_ref = SL::DATEV::CSV->new(datev_lines => $self->generate_datev_lines, - from => $self->from, - to => $self->to, - locked => $self->locked, - ); + my $datev_ref, $self->warnings = SL::DATEV::CSV->new(datev_lines => $self->generate_datev_lines, + from => $self->from, + to => $self->to, + locked => $self->locked, + ); my $filename = "EXTF_DATEV_kivitendo" . $self->from->ymd() . '-' . $self->to->ymd() . ".csv"; -- 2.20.1