[% USE HTML %][% USE L %][% USE LxERP %]
| [%- LxERP.t8("From") %] | [%- HTML.escape(SELF.entry.from) %] |
|---|---|
| [%- LxERP.t8("Recipients") %] | [%- HTML.escape(SELF.entry.recipients) %] |
| [%- LxERP.t8("Subject") %] | [%- HTML.escape(SELF.entry.subject) %] |
| [%- LxERP.t8("Sent on") %] | [%- HTML.escape(SELF.entry.sent_on.to_lxoffice("precision" => "second")) %] |
| [%- LxERP.t8("Status") %] | [%- IF SELF.entry.status == "ok" %] [%- LxERP.t8("succeeded") %] [%- ELSE %] [%- LxERP.t8("failed") %] [%- END %] |
| [%- LxERP.t8("Extended status") %] | [%- HTML.escape(SELF.entry.extended_status) %] |
| [%- LxERP.t8("Headers") %] | [% HTML.escape(SELF.entry.headers) %] |
| [%- LxERP.t8("Body") %] | [% HTML.escape(SELF.entry.body) %] |
| [% LxERP.t8("Attachment name") %] | [% LxERP.t8("MIME type") %] | [% LxERP.t8("Size") %] |
|---|---|---|
| [% L.link(SELF.url_for(action="download_attachment", id=attachment.id), attachment.name) %] | [% HTML.escape(attachment.mime_type) %] | [% HTML.escape(LxERP.format_amount(attachment.content.length, 0)) %] |