# Which COA is in use?
- $ustva->get_coa($form, \%myconfig);
+ $ustva->get_coa($form); # fetches coa and modifies some form variables
my $template_ref = {
openings => $openings,
} else
{
- #$form->parse_template(\%myconfig, $::lx_office_conf{paths}{userspath});
+ # add a prefix for ustva pos numbers, i.e.: 81 -> post_ustva_81
+ $form->{"pos_ustva_$_"} = $form->{$_} for grep { m{^\d+} } keys %{ $form };
$form->{title} = $locale->text('Advance turnover tax return');
$form->header;
# Which COA is in use?
- $ustva->get_coa($::form, \%::myconfig);
+ $ustva->get_coa($::form); # fetches coa and modifies some form variables
# hä? kann die weg?
my $steuernummer_new = '';
$form->{FA_Oeffnungszeiten} =~ s/\\\\n/\n/g;
- $ustva->get_coa($form, \%myconfig);
+ $ustva->get_coa($form); # fetches coa and modifies some form variables
my $input_steuernummer = $ustva->steuernummer_input(
$form->{elsterland},
$::auth->assert('advance_turnover_tax_return');
- my $filename = "$::form->{login}_$::form->{filename}";
+ my $filename = "$::myconfig{login}_$::form->{filename}";
$filename =~ s|.*/||;
#zuerst die steuernummer aus den part, parts_X_Y und delimiter herstellen