{% extends "pos/base.html" %} {% load static %} {% block title %}{{ is_edit|yesno:"Edit Client,Add New Client" }}{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %}{{ is_edit|yesno:"Edit Client,Add New Client" }}{% endblock %} {% block content %} {# ── Breadcrumb ── #}
{{ is_edit|yesno:"Edit Client Profile,Register New Client" }}
{% csrf_token %} {# ═══════════ SECTION 1 — Identity (read-only) ═══════════ #}
Identification
T-ID is auto-assigned. License Code is auto-generated and unique — it cannot be changed.

{# ═══════════ SECTION 2 — Client Details ═══════════ #}
Client Details
{% if errors.name %}
{{ errors.name }}
{% endif %}
{% if errors.mobile %}
{{ errors.mobile }}
{% endif %}

{# ═══════════ SECTION 3 — License & Status ═══════════ #}
License & Status
Leave blank if no expiry.

{# ═══════════ SECTION 4 — POS Configuration ═══════════ #}
POS Configuration

{# ═══════════ ACTION BUTTONS ═══════════ #}
Back to List
{# ── Client Meta Info (edit mode only) ── #} {% if is_edit and instance %}
Record Meta
Database PK: {{ instance.pk }}
T-ID: {{ instance.t_id }}
License: {{ instance.liscense_code }}
{% endif %} {% endblock %} {% block javascripts %} {% endblock %}