X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=bin%2Fmozilla%2Fustva.pl;h=6b25b7875a803f143f655604a6f7bad0dbe3f317;hb=3db7bbb21243d2f9de903b41f590f82dae64c161;hp=4ee7638816511f123b46e65cf96585da1fd3f3b3;hpb=72539cb39a3d19f930a8e0e41e46bf41afe9a8f1;p=kivitendo-erp.git diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index 4ee763881..6b25b7875 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -73,8 +73,9 @@ sub report { $lxdebug->enter_sub(); my $myconfig = \%myconfig; use CGI; + $form->{title} = $locale->text('UStVA'); - $form->{kz10} = ''; #Berichtigte Anmeldung? Ja =1 + $form->{kz10} = ''; #Berichtigte Anmeldung? Ja =1 Nein=0 my $year = substr( $form->datetonum($form->current_date(\%myconfig), @@ -147,6 +148,7 @@ sub report { my $temp = $form->{address}; $temp =~ s/\\n/
/; ($form->{co_street}, $form->{co_city}) = split("
", $temp); + $form->{co_city} =~ s/\\n//g; } if ($form->{co_street} ne '' @@ -191,10 +193,10 @@ sub report { Keine Steuernummer hinterlegt!
|; } print qq| - +

@@ -544,30 +546,26 @@ sub ustva_vorauswahl { if ($form->{FA_voranmeld} eq 'month') { # Vorauswahl bei monatlichem Voranmeldungszeitraum - print qq| - |; + my $key = ''; foreach $key (sort keys %liste) { my $selected = ''; $selected = 'selected' if ($sel eq $key); print qq| - - + |; } print qq||; @@ -759,7 +758,7 @@ sub show_options { qq| |; - if ($latex) { + if ($latex_templates) { $format .= qq|