{% extends "cms/base.html" %} {% block title %}Billing, {{ obj.name }}{% endblock %} {% block extra_head %} {% endblock %} {% block cms_content %}
| Invoice | Description | Period | Amount | Due | Status | Actions |
|---|---|---|---|---|---|---|
| {{ inv.invoice_number|cut:"INV-" }} | {{ inv.description|default:inv.get_invoice_type_display }} | {% if inv.period_start %}{{ inv.period_start|date:"d M" }}{% if inv.period_end %} to {{ inv.period_end|date:"d M Y" }}{% endif %}{% else %}—{% endif %} | £{{ inv.amount }} | {{ inv.due_date|date:"d M Y" }} | {% if inv.status == 'paid' %} Paid {% elif inv.status == 'overdue' %} Overdue {% elif inv.status == 'pending' %} Pending {% elif inv.status == 'draft' %} Draft {% else %} {{ inv.get_status_display }} {% endif %} | {% if inv.pay_token and inv.status != 'paid' %} {% endif %} {% if inv.status != 'paid' %} {% endif %} {% if inv.status != 'paid' and inv.status != 'cancelled' %} {% endif %} |
| Version | Note | Fee | Status | Granted |
|---|---|---|---|---|
| v{{ ch.version }} | {{ ch.notes|default:"" }} | {% if ch.fee %}£{{ ch.fee }}{% else %}Free{% endif %} | {% if ch.status == 'paid' %} Paid {% elif ch.status == 'waived' %} Waived {% else %} Pending {% endif %} | {{ ch.created_at|date:"d M Y" }}, {{ ch.created_at|time:"H:i" }} |