Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f3087a89

Von Martin Helmling mh@waldpark.octosoft.eu vor etwa 9 Jahren hinzugefügt

  • ID f3087a89f958f0a2e510994a5e92d735cfcb5b95
  • Vorgänger a34838e6
  • Nachfolger c01d62c4

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

Unterschiede anzeigen:

templates/webpages/io/ship_to.html
[% 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 ;
'' %]

Auch abrufbar als: Unified diff