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 = "namespace('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 var shiptoMapWidget = namespace('kivi.CustomerVendor').showMapWidget('shipto_shipto', $('#shipto_map'));
56 <th align="right" nowrap>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
59 [% L.input_tag('shipto.shiptozipcode', SELF.shipto.shiptostreet, size = 5, maxlength = 75) %]
60 [% L.input_tag('shipto.shiptocity', SELF.shipto.shiptocity, size = 30, maxlength = 75) %]
65 <th align="right" nowrap>[% 'Country' | $T8 %]</th>
68 [% L.input_tag('shipto.shiptocountry', SELF.shipto.shiptocountry, size = 35, maxlength = 75) %]
73 <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
76 [% L.input_tag('shipto.shiptocontact', SELF.shipto.shiptocontact, size = 30, maxlength = 75) %]
81 <th align="right" nowrap>[% 'Phone' | $T8 %]</th>
84 [% L.input_tag('shipto.shiptophone', SELF.shipto.shiptophone, size = 30, maxlength = 30) %]
89 <th align="right" nowrap>[% 'Fax' | $T8 %]</th>
92 [% L.input_tag('shipto.shiptofax', SELF.shipto.shiptofax, size = 30, maxlength = 30) %]
97 <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
100 [% L.input_tag('shipto.shiptoemail', SELF.shipto.shiptoemail, size = 45) %]
105 [% L.button_tag('submitInputButton(this);', LxERP.t8('Delete Shipto'), name = 'action_delete_shipto', class = 'submit') %]
106 [% IF ( !SELF.shipto.shipto_id ) %]
107 <script type="text/javascript">
108 $('#action_delete_shipto').hide();