X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdatev.pl;h=d352252047b8dc5f65634a509d0825fe6ce517f5;hb=02e1cec838a274a87b1a1c69f9c07d2c86ce4127;hp=8f0bdd8c50ea223345d4b7b5fb9d6b60f27ae5bc;hpb=57bf9c89a037036fcf433de39643778854defe51;p=kivitendo-erp.git 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);