X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/c24da79ff009b04ba6bc86ba57f4fc38d05d48fb..d726f05aa693408c45d0128b98738cbfce53cb0e:/bin/mozilla/ustva.pl diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index ca21b9188..bf9aaecb3 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -1061,14 +1061,14 @@ sub generate_ustva { $file .= $form->{elstersteuernummer}; #file suffix $file .= '.xml'; - $form->{tmpfile} = $file; + $form->{tmpfile} = "$userspath/$file"; } if ( $form->{format} eq 'elstertaxbird' ) { $form->{IN} = 'taxbird.txb'; - $form->{tmpfile} = "USTVA-" . $form->{period} + $form->{tmpfile} = "$userspath/USTVA-" . $form->{period} . sprintf("%02d", $form->{year} % 100) . ".txb"; if ($form->{period} =~ /^[4]\d$/ ){ @@ -1137,10 +1137,9 @@ sub generate_ustva { $form->{templates} = $myconfig{templates}; $form->{templates} = "doc" if ( $form->{type} eq 'help' ); - $lxdebug->leave_sub(); - $form->parse_template($myconfig, $userspath); + $lxdebug->leave_sub(); } sub edit {