From f3087a89f958f0a2e510994a5e92d735cfcb5b95 Mon Sep 17 00:00:00 2001 From: "Martin Helmling mh@waldpark.octosoft.eu" Date: Wed, 17 Feb 2016 14:32:57 +0100 Subject: [PATCH] Lieferadresse: Falsche Stadt wird angezeigt MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- templates/webpages/io/ship_to.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ; '' %] -- 2.20.1