X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fdatev.pl;h=097b5d7d3aed591e67c8fee6b6ed0cc9bdf0efe0;hb=5f3f953a9ccd519fbe329d65a49239271b1b520d;hp=4ada35f109624f47a852aec4d615a04fac42daad;hpb=a35013886c936227e97cc868b77be1e584ad4272;p=kivitendo-erp.git diff --git a/bin/mozilla/datev.pl b/bin/mozilla/datev.pl index 4ada35f10..097b5d7d3 100644 --- a/bin/mozilla/datev.pl +++ b/bin/mozilla/datev.pl @@ -29,7 +29,7 @@ use POSIX qw(strftime getcwd); use Archive::Zip qw(:ERROR_CODES :CONSTANTS); use SL::Common; -use SL::DATEV; +use SL::DATEV qw(:CONSTANTS); use strict; @@ -42,348 +42,85 @@ require "bin/mozilla/common.pl"; sub continue { call_sub($main::form->{"nextsub"}); } sub export { - $main::lxdebug->enter_sub(); + $::lxdebug->enter_sub; + $::auth->assert('datev_export'); - my $form = $main::form; - my %myconfig = %main::myconfig; - my $locale = $main::locale; + my $stamm = SL::DATEV->new->get_datev_stamm; - $main::auth->assert('datev_export'); - - $form->{title} = $locale->text("DATEX - Export Assistent"); - - DATEV->get_datev_stamm(\%myconfig, \%$form); - $form->header; - - print qq| -
- - - - -