Order: und nochmal header nach oben
[kivitendo-erp.git] / templates / webpages / order / tabs / _email_dialog.html
1 [%- USE T8 %][%- USE HTML %][%- USE L %][%- USE LxERP %]
2 <h2>[%- 'E-mail' | $T8 %]&nbsp;[%- SELF.type | $T8 %]</h2>
3
4 <form method="post" id="email_form" method="POST">
5 <table width="100%">
6   <tr>
7     <td>
8       <table>
9         <tr  align="left">
10           <th align="right" nowrap>[% 'To' | $T8 %]</th>
11           <td>[% L.input_tag("email.to", SELF.email.to, size=30, class=(SELF.email.to ? '' : 'initial_focus')) %]</td>
12         </tr>
13         <tr>
14           <th align="right" nowrap>[% 'Cc' | $T8 %]</th>
15           <td>[% L.input_tag("email.cc", SELF.email.cc, size=30) %]</td>
16         </tr>
17         [%- IF AUTH.assert('email_bcc', 1) %]
18         <tr>
19           <th align="right" nowrap>[% 'Bcc' | $T8 %]</th>
20           <td>[% L.input_tag("email.bcc", SELF.email.bcc, size=30) %]</td>
21         </tr>
22         [%- END %]
23         <tr>
24           <th align="right" nowrap>[% 'Subject' | $T8 %]</th>
25           <td>[% L.input_tag('email.subject', SELF.email.subject, size=30, class=(SELF.email.subject ? 'initial_focus' : '')) %]</td>
26         </tr>
27         <tr>
28           <th align="right" nowrap>[% 'Attachment name' | $T8 %]</th>
29           <td>[% L.input_tag("email.attachment_filename", SELF.email.attachment_filename, size=30) %]</td>
30         </tr>
31       </table>
32     </td>
33   </tr>
34
35   <tr>
36     <table>
37       <tr>
38         <th align="left" nowrap>[% 'Message' | $T8 %]</th>
39       </tr>
40       <tr>
41         <td>
42           [% L.textarea_tag("email.message", SELF.email.message, wrap="soft", style="width: 350px; height: 150px") %]
43         </td>
44       </tr>
45   </tr>
46
47 </table>
48
49 <br>
50 [% L.hidden_tag('action', 'Order/dispatch') %]
51 [% L.button_tag('kivi.Order.send_email()', LxERP.t8('Continue')) %]
52 <a href="#" onclick="kivi.Order.close_email_dialog();">[%- LxERP.t8("Cancel") %]</a>
53
54 </form>