X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fio%2Fship_to.html;h=e3e6500ba5a3221bbe18a28bf5eb895bf5745a5e;hb=219d88ab03186a74e5dd474175e49bd74dacf15f;hp=10f0ce2cc4edb9fe4c94a95faf9a5588e635ec46;hpb=075bd42af8885aee3c18fe055a2c82b8b43f4cea;p=kivitendo-erp.git diff --git a/templates/webpages/io/ship_to.html b/templates/webpages/io/ship_to.html index 10f0ce2cc..e3e6500ba 100644 --- a/templates/webpages/io/ship_to.html +++ b/templates/webpages/io/ship_to.html @@ -1,6 +1,89 @@ -[% USE HTML %][% USE L %][% USE LxERP %] +[% USE HTML %][% USE L %][% USE LxERP %][%- USE JavaScript -%] + + + +[% select_options = [ [ 0, LxERP.t8("Billing Address") ] ] ; + FOREACH shipto = vc_obj.shipto ; + tmpcity = shipto.shiptozipcode _ ' ' _ shipto.shiptocity ; + tmptitle = [ shipto.shiptoname, shipto.shiptostreet, tmpcity ] ; + CALL select_options.import([ [ loop.count, tmptitle.grep('\S').join("; ") ] ]) ; + END ; + '' %]