{% extends "cms/base.html" %} {% block title %}Invoice {{ invoice.invoice_number }}{% endblock %} {% block extra_head %} {% endblock %} {% block cms_content %}

Tenants / {{ obj.name }} / {{ invoice.invoice_number|cut:"INV-" }}

Back
Invoice {{ invoice.invoice_number|cut:"INV-" }}
{% if invoice.notes %} {% endif %}
Reference{{ invoice.invoice_number }}
Client{{ invoice.tenant.name }}
Type{{ invoice.get_invoice_type_display }}
Description{{ invoice.description|default:"Not set" }}
Period {% if invoice.period_start %}{{ invoice.period_start|date:"d M Y" }}{% if invoice.period_end %} to {{ invoice.period_end|date:"d M Y" }}{% endif %}{% else %}Not set{% endif %}
Amount£{{ invoice.amount }} {{ invoice.currency }}
Due Date{{ invoice.due_date|date:"d M Y" }}
Status {% if invoice.status == 'paid' %} Paid {% if invoice.paid_at %} on {{ invoice.paid_at|date:"d M Y, H:i" }}{% endif %} {% elif invoice.status == 'overdue' %} Overdue {% else %} {{ invoice.get_status_display }} {% endif %}
Raised{{ invoice.created_at|date:"d M Y" }}, {{ invoice.created_at|time:"H:i" }}
Notes{{ invoice.notes }}
Send
{% if invoice.tenant.billing_email %} Goes to {{ invoice.tenant.billing_email }}. {% elif invoice.tenant.owner and invoice.tenant.owner.email %} Goes to {{ invoice.tenant.owner.email }}. {% else %} No billing address set for this client, so there is nowhere to send it. {% endif %}
{% if invoice.tenant.billing_email or invoice.tenant.owner.email %} {% else %} {% endif %}
{% if invoice.status != 'paid' %} {% endif %} Cancel
{% endblock %}