[% USE HTML %][% USE L %][% USE LxERP %][%- USE P -%]
[%- 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") %] | [% P.email_journal.entry_status(SELF.entry) %] |
[%- LxERP.t8("Extended status") %] | [%- HTML.escape(SELF.entry.extended_status) %] |
[%- LxERP.t8("For Record Type") %] | [%- HTML.escape(RECORD_TYPES_TO_TEXT.${SELF.entry.record_type}) %] |
[%- LxERP.t8("Headers") %] | [% HTML.escape(SELF.entry.headers) %] |
[%- LxERP.t8("Body") %] |
[%- IF SELF.entry.headers.match('(?i)content-type:.*text/html') %]
[% P.restricted_html(SELF.entry.body) %]
[%- ELSE %]
[% HTML.escape(SELF.entry.body) %][%- END %] |
[% LxERP.t8("Obsolete") %] | [% L.input_tag('obsolete', SELF.entry.obsolete_as_bool_yn, style="color:black", disabled=1) %] [% L.button_tag("kivi.EmailJournal.toggle_obsolete( $SELF.entry.id );", 'Toggle') %] |