1 [%- USE T8 %][%- USE HTML %][%- USE L %][%- USE LxERP %]
 
   2 <h2>[%- 'E-mail' | $T8 %] [%- SELF.type | $T8 %]</h2>
 
   4 <form method="post" id="email_form" method="POST">
 
  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>
 
  14           <th align="right" nowrap>[% 'Cc' | $T8 %]</th>
 
  15           <td>[% L.input_tag("email.cc", SELF.email.cc, size=30) %]</td>
 
  17         [%- IF AUTH.assert('email_bcc', 1) %]
 
  19           <th align="right" nowrap>[% 'Bcc' | $T8 %]</th>
 
  20           <td>[% L.input_tag("email.bcc", SELF.email.bcc, size=30) %]</td>
 
  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>
 
  28           <th align="right" nowrap>[% 'Attachment name' | $T8 %]</th>
 
  29           <td>[% L.input_tag("email.attachment_filename", SELF.email.attachment_filename, size=30) %]</td>
 
  38         <th align="left" nowrap>[% 'Message' | $T8 %]</th>
 
  42           [% L.textarea_tag("email.message", SELF.email.message, wrap="soft", style="width: 350px; height: 150px") %]
 
  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>