USTVA: Winston export ueberarbeitet. Kz vor die pos_ustva gesetzt, 'Kennzahl Nr'...
authorUdo Spallek <info@wissensvermittlung.com>
Wed, 9 May 2007 08:53:02 +0000 (08:53 +0000)
committerUdo Spallek <info@wissensvermittlung.com>
Wed, 9 May 2007 08:53:02 +0000 (08:53 +0000)
bin/mozilla/ustva.pl
templates/German-winston.xml

index e072b27..679c7d1 100644 (file)
@@ -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
index 00a3bb7..1b8e924 100644 (file)
@@ -7,7 +7,7 @@
   <AnmeldeZeitraum><%period%></AnmeldeZeitraum>
 
 <%foreach id%>
-  <Kennzahl Nr="<%id%>"><%amount%></Kennzahl>
+  <Kennzahl nr="<%id%>"><%amount%></Kennzahl>
 <%end%>
 
 </WinstonAusgang>