X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fdatev.pl;h=097b5d7d3aed591e67c8fee6b6ed0cc9bdf0efe0;hb=5c41c19b68c3edeb374b32fd75ac4253aafc4df1;hp=8f0bdd8c50ea223345d4b7b5fb9d6b60f27ae5bc;hpb=27309ff158fca21e731318045f4971fd966ce4de;p=kivitendo-erp.git diff --git a/bin/mozilla/datev.pl b/bin/mozilla/datev.pl index 8f0bdd8c5..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,346 +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| -
- - - - -