{% extends "base.html" %} {% load static %} {% block title %}Voucher detail{% endblock %} {% block content %}

{{ voucher.title }}

Created: {{ voucher.date }}

{% if voucher.approved %}
Approved by {{ voucher.approver }}
{% elif voucher.rejected %}
Rejected
{% else %}
Awaiting approval
{% endif %} {% if show_vat %}{% endif %} {% for line in voucher.lines %} {% if show_vat %} {% endif %} {% empty %} {% endfor %}
Description AmountVAT
{{ line.description }} {{ line.amount|floatformat:2 }}{{ line.vat|floatformat:2 }}
No lines
{% if user.can_approve %}
{% csrf_token %} {% include "voucher/_comment_field.html" %}
{% endif %} {% block extra_js %} {% endblock %} {% endblock %}