6367cceaf60a09ddc012dade0fe463a0ff981a00
[kivitendo-erp.git] / templates / webpages / ct / _shipto.html
1 [% USE L %][% USE HTML %][% USE T8 %][% USE LxERP %]
2     <table width="100%" id="shipto_table">
3      <tr>
4       <th align="right">[% 'Shipping Address' | $T8 %]</th>
5       <td>
6        [% L.select_tag('shipto_id', SHIPTO, default = shipto_id, value_key = 'shipto_id', title_sub = \shipto_label, with_empty = 1, empty_title = LxERP.t8('New shipto'),
7                        onchange = "\$('#shipto').load('ct.pl?action=get_shipto&id=' + \$('#cvid').attr('value') + '&db=' + \$('#db').attr('value') + '&shipto_id=' + this.value)") %]
8       </td>
9      </tr>
10
11      <tr>
12       <th align="right" nowrap>[% 'Name' | $T8 %]</th>
13       <td><input id="shiptoname" name="shiptoname" size="35" maxlength="75" value="[% HTML.escape(shiptoname) %]"></td>
14      </tr>
15
16      <tr>
17       <th align="right" nowrap>[% 'Abteilung' | $T8 %]</th>
18       <td>
19        <input id="shiptodepartment_1" name="shiptodepartment_1" size="16" maxlength="75" value="[% HTML.escape(shiptodepartment_1) %]">
20        <input id="shiptodepartment_2" name="shiptodepartment_2" size="16" maxlength="75" value="[% HTML.escape(shiptodepartment_2) %]">
21       </td>
22      </tr>
23
24      <tr>
25       <th align="right" nowrap>[% 'Street' | $T8 %]</th>
26       <td><input id="shiptostreet" name="shiptostreet" size="35" maxlength="75" value="[% HTML.escape(shiptostreet) %]"></td>
27      </tr>
28
29      <tr>
30       <th align="right" nowrap>[% 'Zipcode' | $T8 %]/[% 'City' | $T8 %]</th>
31       <td>
32        <input id="shiptozipcode" name="shiptozipcode" size="5" maxlength="75" value="[% HTML.escape(shiptozipcode) %]">
33        <input id="shiptocity" name="shiptocity" size="30" maxlength="75" value="[% HTML.escape(shiptocity) %]">
34       </td>
35      </tr>
36
37      <tr>
38       <th align="right" nowrap>[% 'Country' | $T8 %]</th>
39       <td><input id="shiptocountry" name="shiptocountry" size="35" maxlength="75" value="[% HTML.escape(shiptocountry) %]"></td>
40      </tr>
41
42      <tr>
43       <th align="right" nowrap>[% 'Contact' | $T8 %]</th>
44       <td><input id="shiptocontact" name="shiptocontact" size="30" maxlength="75" value="[% HTML.escape(shiptocontact) %]"></td>
45      </tr>
46
47      <tr>
48       <th align="right" nowrap>[% 'Phone' | $T8 %]</th>
49       <td><input id="shiptophone" name="shiptophone" size="30" maxlength="30" value="[% HTML.escape(shiptophone) %]"></td>
50      </tr>
51
52      <tr>
53       <th align="right" nowrap>[% 'Fax' | $T8 %]</th>
54       <td><input id="shiptofax" name="shiptofax" size="30" maxlength="30" value="[% HTML.escape(shiptofax) %]"></td>
55      </tr>
56
57      <tr>
58       <th align="right" nowrap>[% 'E-mail' | $T8 %]</th>
59       <td><input id="shiptoemail" name="shiptoemail" size="45" value="[% HTML.escape(shiptoemail) %]"></td>
60      </tr>
61     </table>
62
63 [%- IF shipto_id %]
64     <input type="submit" id="delete_shipto" name="action" value="[% 'Delete Shipto' | $T8 %]">
65     <br style="clear: left" />
66 [%- END %]