{% block title %}
InvenioILS: loan cancelled for "{{ document.title|safe }}"
{% endblock %}
{% block body_plain %}
Dear {{ patron.name }},
your loan for "{{ document.full_title }}" <{{ spa_routes.HOST }}{{ spa_routes.PATHS['literature']|format(pid=document.pid) }}> has been cancelled.
{% if "cancel_reason" in loan %}
Cancel reason: {{loan.cancel_reason}}
{% endif %}
{% endblock %}
{% block body_html %}
Dear {{ patron.name }},
your loan for "{{ document.full_title }}" has been cancelled.
{% if "cancel_reason" in loan %}
Cancel reason: {{loan.cancel_reason}}
{% endif %}
{% endblock %}