[% 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 ; '' %]
[% LxERP.t8('Billing Address') %] | [% LxERP.t8('Shipping Address') %] | |
---|---|---|
[% IF vc == "customer" %][% LxERP.t8('Customer Number') %][% ELSE %][% LxERP.t8('Vendor Number') %][% END %] | [% IF vc == "customer" %][% HTML.escape(vc_obj.customernumber) %][% ELSE %][% HTML.escape(vc_obj.vendornumber) %][% END %] | |
[% LxERP.t8('Company Name') %] | [% HTML.escape(vc_obj.name) %] | [% L.input_tag("shiptoname", shiptoname, "size", "35", class="wi-normal") %] |
[% LxERP.t8('Department') %] | [% HTML.escape(vc_obj.department_1) %] | [% L.input_tag("shiptodepartment_1", shiptodepartment_1, "size", "35") %] |
[% LxERP.t8('Department') %] 2 | [% HTML.escape(vc_obj.department_2) %] | [% L.input_tag("shiptodepartment_2", shiptodepartment_2, "size", "35") %] |
[% LxERP.t8('Street') %] | [% HTML.escape(vc_obj.street) %] | [% L.input_tag("shiptostreet", shiptostreet, "size", "35") %] |
[% LxERP.t8('Zipcode') %] | [% HTML.escape(vc_obj.zipcode) %] | [% L.input_tag("shiptozipcode", shiptozipcode, "size", "35") %] |
[% LxERP.t8('City') %] | [% HTML.escape(vc_obj.city) %] | [% L.input_tag("shiptocity", shiptocity, "size", "35") %] |
[% LxERP.t8('Country') %] | [% HTML.escape(vc_obj.country) %] | [% L.input_tag("shiptocountry", shiptocountry, "size", "35") %] |
[% LxERP.t8('GLN') %] | [% HTML.escape(vc_obj.gln) %] | [% L.input_tag("shiptogln", shiptogln, "size", "35") %] |
[% LxERP.t8('Contact') %] | [% HTML.escape(vc_obj.contact) %] | [% L.input_tag("shiptocontact", shiptocontact, "size", "35") %] |
[% LxERP.t8('Gender') %] | [% L.select_tag('shiptocp_gender', [ [ 'm', LxERP.t8('male') ], [ 'f', LxERP.t8('female') ] ], 'default' = shiptocp_gender) %] | |
[% LxERP.t8('Phone') %] | [% HTML.escape(vc_obj.phone) %] | [% L.input_tag("shiptophone", shiptophone, "size", "35") %] |
[% LxERP.t8('Fax') %] | [% HTML.escape(vc_obj.fax) %] | [% L.input_tag("shiptofax", shiptofax, "size", "35") %] |
[% LxERP.t8('E-mail') %] | [% HTML.escape(vc_obj.email) %] | [% L.input_tag("shiptoemail", shiptoemail, "size", "35") %] |
[% HTML.escape(var.config.description) %] | [% INCLUDE 'common/render_cvar_input.html' cvar_name_prefix='shiptocvar_' %] |