X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fio%2Fship_to.html;h=2ffed371fcd89286fdddc4c770432382215a4bf7;hb=061f4d6d32ed95055114582ede45e8387b302a53;hp=516460bf59e085d21ed760d055149eae78f34a08;hpb=6d6eb2decd2f3561ae4f4591269165cffce88b25;p=kivitendo-erp.git diff --git a/templates/webpages/io/ship_to.html b/templates/webpages/io/ship_to.html index 516460bf5..2ffed371f 100644 --- a/templates/webpages/io/ship_to.html +++ b/templates/webpages/io/ship_to.html @@ -1,7 +1,83 @@ -[% 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 ; + '' %]