{% extends "pos/base.html" %} {% block content %}
{% if is_edit %} Edit Sub-Tenant {% else %} Add New Sub-Tenant {% endif %}

Branch: {{ branch.company_name }} - {{ branch.branch_name }}

{% csrf_token %}
{{ form.name }} e.g., Counter 1, Floor 2, Shop A, Cash Register 3 {% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{{ form.status }} {% if form.status.errors %}
{{ form.status.errors }}
{% endif %}
{{ form.expiry_date }} Leave blank for no expiry. {% if form.expiry_date.errors %}
{{ form.expiry_date.errors }}
{% endif %}
{% if is_edit and sub_tenant %}
pos_branch_id: {{ sub_tenant.pos_branch_id }}
This ID is auto-generated and used internally for data isolation.
{% endif %}
Cancel
{% endblock %}