-
-
- $department
-|;
+ my $openings = $form->{FA_Oeffnungszeiten};
+ $openings =~ s/\\\\n/ /g;
- # Hier Aufruf von get_config aus bin/mozilla/fa.pl zum
- # Einlesen der Finanzamtdaten
- &get_config($userspath, 'finanzamt.ini');
-
- # Hier Einlesen der user-config
- # steuernummer entfernt für prerelease
- my @a = qw(signature name company address businessnumber tel fax email
- co_chief co_department co_custom1 co_custom2 co_custom3 co_custom4 co_custom5
- co_name1 co_name2
- co_street co_street1 co_zip co_city co_city1 co_country co_tel co_tel1 co_tel2
- co_fax co_fax1 co_email co_email1 co_url co_url1 ustid duns
- co_bankname co_bankname1 co_bankname2 co_bankname3 co_blz co_blz1
- co_blz2 co_blz3 co_accountnr co_accountnr1 co_accountnr2 co_accountnr3);
+ my $company_given = ($form->{company} ne '')
+ ? qq|$form->{company}\n|
+ : qq||
+ . $locale->text('No Company Name given') . qq|! |;
- map { $form->{$_} = $myconfig->{$_} } @a;
-
- my $oeffnungszeiten = $form->{FA_Oeffnungszeiten};
- $oeffnungszeiten =~ s/\\\\n/ /g;
- print qq|
-
-
-
-
- |;
- if ($form->{FA_steuerberater_name} ne '') {
- print qq|
-
-
- |;
- }
- print qq|
-
-
- | |;
-
- if ($form->{FA_Name} ne '') {
- print qq|
-
-
-
-
- |;
+ # Which COA is in use?
- } else {
- print qq|
- |
-
- |;
- my $ausgabe = '';
- $hide = q|disabled="disabled"|;
- }
+ $ustva->get_coa($form, \%myconfig);
- print qq|
- |
-
- |;
+ my $template_ref = {
+ openings => $openings,
+ company_given => $company_given,
+ address_given => $address_given,
+ taxnumber_given => $taxnumber_given,
+ taxnumber => $defaults->taxnumber,
+ select_year => $select_year,
+ period_local => $period_local,
+ method_local => $method_local,
+ ustva_vorauswahl => $ustva_vorauswahl,
+ checkbox_kz_10 => $checkbox_kz_10,
+ tax_office_banks => $tax_office_banks_ref,
+ select_options => &show_options,
- #}# end if report = ustva
-
- print qq|
-
- |
-
-