X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fio%2Fship_to.html;h=ca5560c1035e7fbb55daba87cb1f6e8b51cfbb6e;hb=e41671e06344bfc4a1c5399f1c6014423bd2be29;hp=7e1b1098037b638d78fb8be1097f145470c02f4a;hpb=83542c806dc5c249bf640e344eaf3831cdf2f2ea;p=kivitendo-erp.git diff --git a/templates/webpages/io/ship_to.html b/templates/webpages/io/ship_to.html index 7e1b10980..ca5560c10 100644 --- a/templates/webpages/io/ship_to.html +++ b/templates/webpages/io/ship_to.html @@ -1,7 +1,81 @@ -[% 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 ; + city = shipto.shiptozipcode _ ' ' _ shipto.shiptocity ; + title = [ shipto.shiptoname, shipto.shiptostreet, city ] ; + CALL select_options.import([ [ loop.count, title.grep('\S').join("; ") ] ]) ; + END ; + '' %]