X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fustva.pl;h=e255717a0547952e1871520c9bfca4323e70528e;hb=545d8542873ac7cb75ed71771a1bd384fe57bfe2;hp=cfd78bf7c208154636186eb3675fbc7087fb69e5;hpb=0c19f07b648830f552b949573031894d3cbe4543;p=kivitendo-erp.git diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index cfd78bf7c..e255717a0 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -915,7 +915,7 @@ sub generate_ustva { } else { $form->header; USTVA::error( $locale->text('Wrong Period' )); - exit(0); + ::end_of_request(); } my $tax_office = first { $_->{name} eq $form->{elsterland} } @{ $ustva->{tax_office_information} }; @@ -983,12 +983,12 @@ sub generate_ustva { } elsif ( $form->{format} eq '' ){ # No format error. $form->header; USTVA::error( $locale->text('Application Error. No Format given' ) . "!"); - exit(0); + ::end_of_request(); } else { # All other Formats are wrong $form->header; USTVA::error( $locale->text('Application Error. Wrong Format') . ": " . $form->{format} ); - exit(0); + ::end_of_request(); } @@ -1066,6 +1066,8 @@ sub config_step1 { $auth->assert('advance_turnover_tax_return'); +$form->{title} = $locale->text('Tax Office Preferences'); + # edit all taxauthority prefs $form->header;