X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=bin%2Fmozilla%2Fdatev.pl;h=d352252047b8dc5f65634a509d0825fe6ce517f5;hb=2d31141735127d44d92ec276ed154f17dd1ec288;hp=72666769e7cbc6186825483d7f96c272039c35f7;hpb=4dbb09950c9f5596646537c12d991c99086fe7c1;p=kivitendo-erp.git diff --git a/bin/mozilla/datev.pl b/bin/mozilla/datev.pl index 72666769e..d35225204 100644 --- a/bin/mozilla/datev.pl +++ b/bin/mozilla/datev.pl @@ -22,29 +22,39 @@ #====================================================================== # # Datev export module -# +# #====================================================================== +use POSIX qw(strftime getcwd); +use Archive::Zip qw(:ERROR_CODES :CONSTANTS); +use SL::Common; use SL::DATEV; +use strict; + 1; -# end of main -sub continue { &{ $form->{nextsub} } }; +# end of main +require "bin/mozilla/common.pl"; +sub continue { call_sub($main::form->{"nextsub"}); } sub export { - $lxdebug->enter_sub(); + $main::lxdebug->enter_sub(); + + my $form = $main::form; + my %myconfig = %main::myconfig; + my $locale = $main::locale; + $main::auth->assert('datev_export'); $form->{title} = $locale->text("DATEX - Export Assistent"); - - DATEV->get_datev_stamm(\%myconfig, \%$form); + DATEV->get_datev_stamm(\%myconfig, \%$form); $form->header; - + print qq|
@@ -56,47 +66,51 @@ sub export {|.$locale->text("Beraternummer").qq| | -- - | |.$locale->text("DFV-Kennzeichen").qq| | -- | ||
|.$locale->text("Beratername").qq| | -- - | |.$locale->text("Password").qq| | -- | ||
|.$locale->text("Mandantennummer").qq| | -- - | |.$locale->text("Datenträgernummer").qq| | -- | ||
|.$locale->text("Kontonummernerweiterung (KNE)").qq| | +|||||
| . $locale->text("Beraternummer") . qq| | ++ + | | . $locale->text("DFV-Kennzeichen") . qq| | ++ | ||
| . $locale->text("Beratername") . qq| | ++ + | | . $locale->text("Password") . qq| | ++ | ||
| . $locale->text("Mandantennummer") . qq| | ++ + | | . $locale->text("Medium Number") . qq| | ++ | ||
| . $locale->text("Kontonummernerweiterung (KNE)") . qq| | + qq|- - | |.$locale->text("Abrechnungsnummer").qq| | -- | | . $locale->text("Abrechnungsnummer") . qq| | ++ + |
|.$locale->text("Export Buchungsdaten").qq| | +| + . $locale->text("Export Buchungsdaten") . qq| | - - | |.$locale->text("Export Stammdaten").qq| | + +| + . $locale->text("Export Stammdaten") . qq| | - + |