{% extends "cms/base.html" %} {% block title %}{% if obj %}Edit {{ obj.name }}{% else %}New Tenant{% endif %}{% endblock %} {% block extra_head %} {% endblock %} {% block cms_content %}

Tenants / {% if obj %}{{ obj.name }}{% else %}New Tenant{% endif %}

Back {% if obj and obj.primary_domain %} View Live Site {% endif %}
{% if obj and not obj.is_master %} {% endif %}
{% csrf_token %}
Identity
Site Name *
Primary Domain *
Without https://
Panel Subdomain *
Reference Prefix
Goes in front of ticket, order and chat numbers. Up to four letters. Leave blank to use the slug. Changing this does not renumber anything already issued.
Plan *
{% if obj %}
{% if obj.created_by %} Added by {% firstof obj.created_by.get_full_name obj.created_by.username %} ({{ obj.created_by.get_role_display }}), {% else %} Added {% endif %} {{ obj.created_at|date:"d M Y, H:i" }}
{% endif %} {% if modules_summary %}
Modules Summary Open Modules
Enabled
{{ modules_summary.enabled_count }} / {{ modules_summary.total }}
Plan
{{ obj.get_plan_display }}
Beyond Plan
{{ modules_summary.extras|length }}
{% if modules_summary.extras %} {% endif %}
On {% for m in modules_summary.enabled %}{{ m }}{% empty %}None{% endfor %}
Off {% for m in modules_summary.disabled %}{{ m }}{% empty %}None{% endfor %}
Beyond Plan {% for m in modules_summary.extras %}{{ m }}{% endfor %}
Switched on beyond what the {{ obj.get_plan_display }} plan includes.
{% endif %} {% if billing %}
Billing Summary Open Billing
Monthly Fee
£{{ billing.monthly_fee|floatformat:2 }}
Paid
£{{ billing.paid|floatformat:2 }}
Pending
£{{ billing.pending|floatformat:2 }}
Overdue
£{{ billing.overdue|floatformat:2 }}
Next Renewal {% if billing.next_renewal %}{{ billing.next_renewal|date:"d M Y" }}{% else %}Not set{% endif %} , invoiced on day {{ billing.billing_day }}
Invoices {{ billing.count }} total{% if billing.overdue_n %}, {{ billing.overdue_n }} overdue{% endif %} {% if billing.last %}
Last: {{ billing.last.invoice_number|default:"draft" }}, £{{ billing.last.amount|floatformat:2 }}, {{ billing.last.get_status_display }}, due {{ billing.last.due_date|date:"d M Y" }}
{% endif %}
Billing Email {{ billing.email|default:"Not set" }}
{% endif %}
Notes
{% if obj %}
Added by {% if obj.created_by %}{% firstof obj.created_by.get_full_name obj.created_by.username %} ({{ obj.created_by.get_role_display }}){% else %}an unrecorded user{% endif %}, {{ obj.created_at|date:"d M Y" }}, {{ obj.created_at|time:"H:i" }}
{% endif %}
Settings
{% if obj and obj.is_master %}
{% endif %}
Branding
{% if obj and obj.logo %} {% else %} {% endif %}
512 x 512 px square
{% if obj and obj.logo %} {% endif %}
Accent Colour
Dark Colour
Text Colour
Preview
CMS Sidebar Preview
{{ obj.name|default:'New Site' }}
{% if obj and not obj.is_master %}
{% if obj.is_archived %}Archived{% else %}Offboarding{% endif %}
{% if obj.is_archived %}
Archived{% if obj.archived_at %} on {{ obj.archived_at|date:"d M Y" }}{% endif %}. {% if obj.archived_reason %}
Reason: {{ obj.archived_reason }}{% endif %}
{% else %}
Archiving switches the site off and stops check-ins, but keeps every invoice, order and page for your records.
{% endif %} {% if obj.can_delete %} Delete Permanently
Allowed because this tenant has no invoices or orders.
{% else %}
Deletion is blocked: {% for b in obj.delete_blockers %}{{ b }}{% if not forloop.last %}, {% endif %}{% endfor %}.
{% endif %}
{% endif %} Cancel
{% endblock %}