6 <table width="100%" id="shipto_table">
8 <th align="right">[% 'Shipping Address' | $T8 %]</th>
14 default = SELF.shipto.shipto_id,
15 value_key = 'shipto_id',
16 title_key = 'displayable_id',
18 empty_title = LxERP.t8('New shipto'),
19 onchange = "kivi.CustomerVendor.selectShipto({onFormSet: function(){shiptoMapWidget.testInputs();}});",
26 <th align="right" nowrap>[% 'Name' | $T8 %]</th>
29 [% L.input_tag('shipto.shiptoname', SELF.shipto.shiptoname, size = 35, maxlength = 75) %]
34 <th align="right" nowrap>[% 'Abteilung' | $T8 %]</th>
37 [% L.input_tag('shipto.shiptodepartment_1', SELF.shipto.shiptodepartment_1, size = 16, maxlength = 75) %]
38 [% L.input_tag('shipto.shiptodepartment_2', SELF.shipto.shiptodepartment_2, size = 16, maxlength = 75) %]
43 <th align="right" nowrap>[% 'Street' | $T8 %]</th>
46 [% L.input_tag('shipto.shiptostreet', SELF.shipto.shiptostreet, size = 35, maxlength = 75) %]
48 <span id="shipto_map"></span>
49 <script type="text/javascript">
50 shiptoMapWidget = new kivi.CustomerVendor.MapWidget('shipto_shipto');
52 shiptoMapWidget.render($('#shipto_map'));
59 <th align="right" nowrap>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
62 [% L.input_tag('shipto.shiptozipcode', SELF.shipto.shiptostreet, size = 5, maxlength = 75) %]
63 [% L.input_tag('shipto.shiptocity', SELF.shipto.shiptocity, size = 30, maxlength = 75) %]
68 <th align="right" nowrap>[% 'Country' | $T8 %]</th>
71 [% L.input_tag('shipto.shiptocountry', SELF.shipto.shiptocountry, size = 35, maxlength = 75) %]
76 <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
79 [% L.input_tag('shipto.shiptocontact', SELF.shipto.shiptocontact, size = 30, maxlength = 75) %]
84 <th align="right" nowrap>[% 'Phone' | $T8 %]</th>
87 [% L.input_tag('shipto.shiptophone', SELF.shipto.shiptophone, size = 30, maxlength = 30) %]
92 <th align="right" nowrap>[% 'Fax' | $T8 %]</th>
95 [% L.input_tag('shipto.shiptofax', SELF.shipto.shiptofax, size = 30, maxlength = 30) %]
100 <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
103 [% L.input_tag('shipto.shiptoemail', SELF.shipto.shiptoemail, size = 45) %]
108 [% L.button_tag('submitInputButton(this);', LxERP.t8('Delete Shipto'), name = 'action_delete_shipto', class = 'submit') %]
109 [% IF ( !SELF.shipto.shipto_id ) %]
110 <script type="text/javascript">
111 $('#action_delete_shipto').hide();