ship_to() in io.pl auf Template umgestellt
[kivitendo-erp.git] / templates / webpages / io / ship_to.html
1 [% USE HTML %][% USE L %][% USE LxERP %]
2 <body>
3
4  <form method="post" action="[% HTML.escape(script) %]">
5
6   <table>
7    <tr class="listheading">
8     <th colspan="2" width="50%">[% LxERP.t8('Billing Address') %]</th>
9     <th width="50%">[% LxERP.t8('Shipping Address') %]</th>
10    </tr>
11    <tr height="5"></tr>
12    <tr>
13     <th align="right" nowrap>[%- IF vc == "customer" %][%- LxERP.t8('Customer Number') %][%- ELSE %][%- LxERP.t8('Vendor Number') %][%- END %]</th>
14     <td>[%- IF vc == "customer" %][%- HTML.escape(customernumber) %][%- ELSE %][%- HTML.escape(vendornumber) %][%- END %]</td>
15    </tr>
16    <tr>
17     <th align="right" nowrap>[% LxERP.t8('Company Name') %]</th>
18     <td>[% HTML.escape(name) %]</td>
19     <td>[% L.input_tag("shiptoname", shiptoname, "size", "35") %]</td>
20    </tr>
21    <tr>
22     <th align="right" nowrap>[% LxERP.t8('Department') %]</th>
23     <td>[% HTML.escape(department_1) %]</td>
24     <td>[% L.input_tag("shiptodepartment_1", shiptodepartment_1, "size", "35") %]</td>
25    </tr>
26    <tr>
27     <th align="right" nowrap>&nbsp;</th>
28     <td>[% HTML.escape(department_2) %]</td>
29     <td>[% L.input_tag("shiptodepartment_2", shiptodepartment_2, "size", "35") %]</td>
30    </tr>
31    <tr>
32     <th align="right" nowrap>[% LxERP.t8('Street') %]</th>
33     <td>[% HTML.escape(street) %]</td>
34     <td>[% L.input_tag("shiptostreet", shiptostreet, "size", "35") %]</td>
35    </tr>
36    <tr>
37     <th align="right" nowrap>[% LxERP.t8('Zipcode') %]</th>
38     <td>[% HTML.escape(zipcode) %]</td>
39     <td>[% L.input_tag("shiptozipcode", shiptozipcode, "size", "35") %]</td>
40    </tr>
41    <tr>
42     <th align="right" nowrap>[% LxERP.t8('City') %]</th>
43     <td>[% HTML.escape(city) %]</td>
44     <td>[% L.input_tag("shiptocity", shiptocity, "size", "35") %]</td>
45    </tr>
46    <tr>
47     <th align="right" nowrap>[% LxERP.t8('Country') %]</th>
48     <td>[% HTML.escape(country) %]</td>
49     <td>[% L.input_tag("shiptocountry", shiptocountry, "size", "35") %]</td>
50    </tr>
51    <tr>
52     <th align="right" nowrap>[% LxERP.t8('Contact') %]</th>
53     <td>[% HTML.escape(contact) %]</td>
54     <td>[% L.input_tag("shiptocontact", shiptocontact, "size", "35") %]</td>
55    </tr>
56    <tr>
57     <th align="right" nowrap>[% LxERP.t8('Gender') %]</th>
58     <td></td>
59     <td>
60      [% L.select_tag("shiptocp_gender", L.options_for_select([ [ "m", LxERP.t8("male") ], [ "f", LxERP.t8("female") ] ], "default", shiptocp_gender)) %]
61     </td>
62    </tr>
63    <tr>
64     <th align="right" nowrap>[% LxERP.t8('Phone') %]</th>
65     <td>[% HTML.escape(phone) %]</td>
66     <td>[% L.input_tag("shiptophone", shiptophone, "size", "35") %]</td>
67    </tr>
68    <tr>
69     <th align="right" nowrap>[% LxERP.t8('Fax') %]</th>
70     <td>[% HTML.escape(fax) %]</td>
71     <td>[% L.input_tag("shiptofax", shiptofax, "size", "35") %]</td>
72    </tr>
73    <tr>
74     <th align="right" nowrap>[% LxERP.t8('E-mail') %]</th>
75     <td>[% HTML.escape(email) %]</td>
76     <td>[% L.input_tag("shiptoemail", shiptoemail, "size", "35") %]</td>
77    </tr>
78   </table>
79
80   <hr size="3" noshade>
81
82   [% L.hidden_tag("action", "ship_to_entered") %]
83   [% L.hidden_tag("nextsub", nextsub) %]
84   [% L.hidden_tag("previousform", previousform) %]
85
86   [% L.submit_tag("__dummy", LxERP.t8("Continue")) %]
87  </form>
88 </body>
89 </html>