{% 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" }}
{% if invoice.notes %}
Notes
{{ invoice.notes }}
{% endif %}
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