From e9e216f571e214e1d19c43a2b47f04525f4aaddf Mon Sep 17 00:00:00 2001 From: Udo Spallek Date: Wed, 9 May 2007 08:53:02 +0000 Subject: [PATCH] USTVA: Winston export ueberarbeitet. Kz vor die pos_ustva gesetzt, 'Kennzahl Nr' auf 'Kennzahl nr.' geaendert. --- bin/mozilla/ustva.pl | 9 +++------ templates/German-winston.xml | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/bin/mozilla/ustva.pl b/bin/mozilla/ustva.pl index e072b27fd..679c7d137 100644 --- a/bin/mozilla/ustva.pl +++ b/bin/mozilla/ustva.pl @@ -855,28 +855,25 @@ sub generate_ustva { # Re-set Numberformat $myconfig{numberformat} = $temp_numberformat; - # push Kennziffern to <%foreach Array fo easyer # output in xml format. Thx to Moritz. my %winston_id_for = ( - # No Winston remap?! + # No Winston remap?! ); - foreach my $kennziffer (@category_cent, @category_euro) { - + next if ( $kennziffer =~ m/Z\d\d/); next if ( $form->{$kennziffer} == 0 ); if (defined $winston_id_for{$kennziffer} ) { push(@{ $form->{id}}, $winston_id_for{$kennziffer}); } else { - push(@{ $form->{id}}, "$kennziffer"); + push(@{ $form->{id}}, "Kz$kennziffer"); } push(@{ $form->{amount}}, $form->{$kennziffer}); } - } elsif ( $form->{format} eq 'elstertaxbird' ) { # Define serveral filenames diff --git a/templates/German-winston.xml b/templates/German-winston.xml index 00a3bb721..1b8e92408 100644 --- a/templates/German-winston.xml +++ b/templates/German-winston.xml @@ -7,7 +7,7 @@ <%period%> <%foreach id%> - <%amount%> + <%amount%> <%end%> -- 2.20.1