From: Udo Spallek Date: Wed, 9 May 2007 08:53:02 +0000 (+0000) Subject: USTVA: Winston export ueberarbeitet. Kz vor die pos_ustva gesetzt, 'Kennzahl Nr'... X-Git-Tag: release-2.4.3^2~353 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e9e216f571e214e1d19c43a2b47f04525f4aaddf;p=kivitendo-erp.git USTVA: Winston export ueberarbeitet. Kz vor die pos_ustva gesetzt, 'Kennzahl Nr' auf 'Kennzahl nr.' geaendert. --- 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%>