{% extends "cms/base.html" %} {% block title %}Billing, {{ obj.name }}{% endblock %} {% block extra_head %} {% endblock %} {% block cms_content %}

Tenants / {{ obj.name }} / Billing

Back {% if obj.primary_domain %} View Live Site {% endif %}
{% for inv in invoices %} {% endfor %}
Invoice History {{ invoices.count }} invoice{{ invoices.count|pluralize }}
{% if invoices %} {% for inv in invoices %} {% endfor %}
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 %}
{% else %}
No invoices yet. Use Raise Invoice to create the first one.
{% endif %}
FT OS Upgrades {{ upgrade_charges|length }} record{{ upgrade_charges|length|pluralize }}
{% if upgrade_charges %} {% for ch in upgrade_charges %} {% endfor %}
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" }}
{% else %}
No upgrades recorded for this client yet.
{% endif %}
Invoices and upgrade records are kept even if this client leaves, so archived tenants keep a full billing history.
Subscription
£{{ obj.monthly_fee }}
Monthly Fee
{{ obj.get_plan_display }}
Plan
{% if obj.next_renewal_date %}
Next renewal {{ obj.next_renewal_date|date:"d M Y" }}
{% endif %}
Billing Settings
Raise Invoice
Cancel
{% endblock %}