From: Jan Büren Date: Tue, 7 Nov 2017 09:29:01 +0000 (+0100) Subject: DATEV CSV-Export an der Oberfläche als neue Option anzeigen X-Git-Tag: release-3.5.4~652 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5b5fc3ca94e10e9e29591e31358e66ea8f8db14e;p=kivitendo-erp.git DATEV CSV-Export an der Oberfläche als neue Option anzeigen --- diff --git a/bin/mozilla/datev.pl b/bin/mozilla/datev.pl index 28043e174..8d18281ee 100644 --- a/bin/mozilla/datev.pl +++ b/bin/mozilla/datev.pl @@ -106,7 +106,7 @@ sub export3 { my %data = ( exporttype => $::form->{exporttype} ? DATEV_ET_STAMM : DATEV_ET_BUCHUNGEN, - format => $::form->{kne} ? DATEV_FORMAT_KNE : $::form->{csv} ? DATEV_FORMAT_CSV : die "unknown format", + format => $::form->{exportformat} eq 'kne' ? DATEV_FORMAT_KNE : DATEV_FORMAT_CSV, ); if ($::form->{exporttype} == DATEV_ET_STAMM) { diff --git a/templates/webpages/datev/export.html b/templates/webpages/datev/export.html index 588309a32..67ad11677 100644 --- a/templates/webpages/datev/export.html +++ b/templates/webpages/datev/export.html @@ -33,7 +33,7 @@ - + [% 'Abrechnungsnummer' | $T8 %] @@ -46,7 +46,14 @@ [% 'Export Stammdaten' | $T8 %] - + + + [% 'CSV' | $T8 %] + + + [% 'KNE' | $T8 %] + + diff --git a/templates/webpages/datev/export3.html b/templates/webpages/datev/export3.html index 0e5fb116c..dd10c75a5 100644 --- a/templates/webpages/datev/export3.html +++ b/templates/webpages/datev/export3.html @@ -7,10 +7,10 @@

-[% IF kne %] +[% IF exportformat == 'kne' %] [% 'KNE Export successful!' | $T8 %] [% END %] -[% IF csv %] +[% IF exportformat == 'csv' %] [% 'CSV Export successful!' | $T8 %] [% END %] diff --git a/templates/webpages/datev/export_bewegungsdaten.html b/templates/webpages/datev/export_bewegungsdaten.html index a472402de..be85405d8 100644 --- a/templates/webpages/datev/export_bewegungsdaten.html +++ b/templates/webpages/datev/export_bewegungsdaten.html @@ -117,8 +117,7 @@ - - +