{% extends "cms/base.html" %} {% load tenant_tags %} {% block title %}Modules — {{ obj.name }}{% endblock %} {% block extra_head %} {% endblock %} {% block cms_content %}

Tenants / {{ obj.name }} / Modules

Back {% if obj.primary_domain %} View Live Site {% endif %}
{% csrf_token %}
Module Access
{% for key, label in module_choices %} {% with is_always=key|in_list:always_on is_on=key|in_set:enabled %}
{% endwith %} {% endfor %}
From the Marketplace
{% if acquisitions %} {% for a in acquisitions %} {% endfor %}
Item How Paid When
{{ a.module_label }} {% if a.note %}
{{ a.note }}
{% endif %}
{% if a.source == 'purchase' %} Purchased {% else %} Free {% endif %} {% if a.amount %}£{{ a.amount|floatformat:2 }}{% else %}—{% endif %} {{ a.created_at|date:"d M Y" }}, {{ a.created_at|time:"H:i" }}
{% else %}
Nothing purchased or granted yet. Anything this client buys from us, or receives free, will be listed here.
{% endif %}
Module Changes
{% if module_logs %} {% for log in module_logs %} {% endfor %}
Module Change By When
{{ log.module_label }} {% if log.is_enabled %} On {% else %} Off {% endif %} {% if log.changed_by %} {% firstof log.changed_by.get_full_name log.changed_by.username %} ({{ log.changed_by.get_role_display }}) {% else %} System {% endif %}
{{ log.get_source_display }}{% if log.amount %}, £{{ log.amount|floatformat:2 }}{% endif %}
{{ log.created_at|date:"d M Y" }}, {{ log.created_at|time:"H:i" }}
{% else %}
No module changes recorded yet. Every change from here on is logged.
{% endif %}
Tickets, Marketplace & Contact are always enabled and cannot be turned off.
Tenant
{% if obj.logo %} {% else %}
{{ obj.name|slice:":2"|upper }}
{% endif %}
{{ obj.name }}
{% if obj.primary_domain %}
{{ obj.primary_domain }}
{% endif %}
Status {% if obj.is_active %}Active{% else %}Inactive{% endif %}
Plan {{ obj.get_plan_display|default:obj.plan }}
AI Chat {% if obj.chat_enabled %}ON{% else %}OFF{% endif %}
Record This Change As
Applies to whatever you switch on in this save. Anything switched off is always recorded as an admin change.
Apply Plan
Cancel
{% endblock %}