+
+ <tr class="rule-before">
+ <th align="right">[%- LxERP.t8("Send invoice via email") %]</th>
+ <td>[% L.checkbox_tag("send_email", onclick => "toggle_send_email_ctrl()", checked=send_email) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right">[%- LxERP.t8("Contact to send to") %]</th>
+ <td>[% L.select_tag("email_recipient_contact_id", ALL_CONTACTS, title_key="full_name_dep", value_key="cp_id", default=email_recipient_contact_id, with_empty=1, disabled=!send_email, style=style) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right">[%- LxERP.t8("Other recipients") %]<sup>3</sup></th>
+ <td>[% L.input_tag("email_recipient_address", email_recipient_address, disabled=!send_email, style=style) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right">[%- LxERP.t8("Sender") %]<sup>4</sup></th>
+ <td>[% L.input_tag("email_sender", email_sender, disabled=!send_email, style=style) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right">[%- LxERP.t8("Subject") %]</th>
+ <td>[% L.input_tag("email_subject", email_subject, disabled=!send_email, style=style) %]</td>
+ </tr>
+
+ <tr>
+ <th align="right" valign="top">[%- LxERP.t8("Message") %]</th>
+ <td valign="top">[% L.textarea_tag("email_body", email_body, disabled=!send_email, rows=8, style=style) %]</td>
+ </tr>