X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fio%2Fship_to.html;h=ca5560c1035e7fbb55daba87cb1f6e8b51cfbb6e;hb=71ada638068acc8b1481b7392bc0511fa627647e;hp=318a5ebcdbdc64ca010e570d3e50284b0cf9724d;hpb=dc7791df0d3e919e691fb3fd3d7ee20e3c5e7ca1;p=kivitendo-erp.git diff --git a/templates/webpages/io/ship_to.html b/templates/webpages/io/ship_to.html index 318a5ebcd..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 ; + '' %]