{% extends "base.html" %} {% block title %}Enrollment — {{ record.project_name }}{% endblock %} {# One submitted enrollment form, rendered through the same schema the public page uses. The customer's answers are READ-ONLY here — only the office-use block and the status are editable, so the file stays a faithful record of what was actually requested. #} {% block content %}

{{ record.project_name }}

Reference {{ record.id }} · submitted {{ record.submitted_at | replace('T', ' ') }} {% if record.updated_at %} · updated {{ record.updated_at | replace('T', ' ') }} {% endif %}
Back Download JSON
{# ── Request details ─────────────────────────────────────────────── #}
Request
Project Name
{{ record.project_name or '—' }}
Request by
{{ record.request_by or '—' }}
Date Requested
{{ record.date_requested or '—' }}
{% if record.notes %}
Customer notes
{{ record.notes }}
{% endif %}
{# ── Office use — the only editable part ─────────────────────────── #}
For Office Use
{% for key, label in schema.OFFICE_FIELDS %}
{% endfor %}
{# ── Step 2: who to set up ──────────────────────────────────────────── #}
Users to Register
{% for reg in record.registrants %} {% if reg.name or reg.email %} {% endif %} {% endfor %}
SeatNameJob TitleEmail Mobile App
{{ reg.label }} {% if reg.include %} {% endif %} {{ reg.name or '—' }} {{ reg.job_title or '—' }} {% if reg.email %} {{ reg.email }} {% else %}—{% endif %} {% if record.mobile_app.get(reg.key) %} {% else %}{% endif %}
{# ── Step 1: the requested matrix ───────────────────────────────────── #}
Requested Tasks & Functions
{% for col_key, col_label in schema.COLUMNS %} {% endfor %} {% for ref, label, scope in schema.TASKS %} {% set row = record.matrix.get(ref|string, {}) %} {% for col_key, _col_label in schema.COLUMNS %} {% endfor %} {% endfor %}
Ref Task / Function {{ col_label.replace('\n', ' ') }}
{{ ref }} {{ label }} {% if scope != 'all' and col_key != 'admin' %} · {% elif row.get(col_key) %} {% else %} {% endif %}
{% if record.meta %}
Submitted from {{ record.meta.ip or 'unknown address' }}
{% endif %} {% endblock %}