{% extends "app/website/templates/html/page.html" %} {% set title=doc.name %} {% block content %}

{{ doc.name }}


{%- if doc.status -%}
{{ doc.status }}
{{ doc.subject }}
{{ utils.formatdate(doc.transaction_date) }}

Messages

{%- if doclist.get({"doctype":"Communication"}) -%}
{%- for comm in doclist.get({"doctype":"Communication"}) %} {% endfor -%}
{{ comm.sender }} on {{ utils.formatdate(doc.modified) }}

{{ comm.content }}

{%- else -%}
No messages
{%- endif -%} {%- endif -%}
{% endblock %}