X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/27309ff158fca21e731318045f4971fd966ce4de..de8868c:/bin/mozilla/datev.pl diff --git a/bin/mozilla/datev.pl b/bin/mozilla/datev.pl index 8f0bdd8c5..d35225204 100644 --- a/bin/mozilla/datev.pl +++ b/bin/mozilla/datev.pl @@ -72,45 +72,45 @@ sub export { - - - - - - - - - - - - - - - - - - - - - - - | . # OBE-Export noch nicht implementiert! + + + + + + + + + + + + + + + + + + + + + + + | . # OBE-Export noch nicht implementiert! 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|
| . $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| | . $locale->text("Abrechnungsnummer") . qq|
| . $locale->text("Abrechnungsnummer") . qq|
| . $locale->text("Export Buchungsdaten") . qq| | + | . $locale->text("Export Stammdaten") . qq|
@@ -214,17 +214,17 @@ sub export_bewegungsdaten { - + - + - + @@ -233,10 +233,10 @@ sub export_bewegungsdaten { . $locale->text('Datum von') . qq| - + - +
 | . $locale->text('Monat') . qq|
 | . $locale->text('Quartal') . qq|
| . $locale->text('bis') . qq|| . $locale->text('bis') . qq|
@@ -302,11 +302,11 @@ sub export_stammdaten { - + - +
| . $locale->text('Von Konto: ') . qq|| . $locale->text('Von Konto: ') . qq|
| . $locale->text('Bis Konto: ') . qq|| . $locale->text('Bis Konto: ') . qq|
@@ -363,6 +363,8 @@ sub export3 { print(qq|
| . $locale->text('KNE-Export erfolgreich!') . qq|

Download|); + print $form->parse_html_template('datev/net_gross_difference') if @{ $form->{net_gross_differences} }; + } else { $form->error("KNE-Export schlug fehl."); } @@ -419,11 +421,13 @@ sub download { chdir($cwd); open(IN, $tmp_name) || die("open $tmp_name"); - print("Content-Type: application/zip\n"); - print("Content-Disposition: attachment; filename=\"${zip_name}\"\n\n"); - while () { - print($_); - } + $::locale->with_raw_io(\*STDOUT, sub { + print("Content-Type: application/zip\n"); + print("Content-Disposition: attachment; filename=\"${zip_name}\"\n\n"); + while () { + print($_); + } + }); close(IN); unlink($tmp_name);