X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fio%2Fship_to.html;h=ca5560c1035e7fbb55daba87cb1f6e8b51cfbb6e;hb=464f44accd46ed0b2e1f7e2459f53337a6720a7f;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..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 ; + '' %]