From: Martin Helmling mh@waldpark.octosoft.eu Date: Wed, 17 Feb 2016 13:32:57 +0000 (+0100) Subject: Lieferadresse: Falsche Stadt wird angezeigt X-Git-Tag: release-3.4.1~414 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f3087a89f958f0a2e510994a5e92d735cfcb5b95;p=kivitendo-erp.git Lieferadresse: Falsche Stadt wird angezeigt Beim Öffnen der Lieferadresse wird eine falsche Stadt angezeigt (PLZ+Stadt) Hier wird die Forms Variable "city" durch das Template in der Loop zum Lieferadressen-Erzeugen verändert: Globale Varibale in Template. Durch Umbenennen Behoben --- diff --git a/templates/webpages/io/ship_to.html b/templates/webpages/io/ship_to.html index 476aaebb0..2ffed371f 100644 --- a/templates/webpages/io/ship_to.html +++ b/templates/webpages/io/ship_to.html @@ -63,9 +63,9 @@ [% select_options = [ [ 0, LxERP.t8("Billing Address") ] ] ; FOREACH shipto = vc_obj.shipto ; - city = shipto.shiptozipcode _ ' ' _ shipto.shiptocity ; - title = [ shipto.shiptoname, shipto.shiptostreet, city ] ; - CALL select_options.import([ [ loop.count, title.grep('\S').join("; ") ] ]) ; + tmpcity = shipto.shiptozipcode _ ' ' _ shipto.shiptocity ; + tmptitle = [ shipto.shiptoname, shipto.shiptostreet, tmpcity ] ; + CALL select_options.import([ [ loop.count, tmptitle.grep('\S').join("; ") ] ]) ; END ; '' %]