{% 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 '—' }}
Requester email
{% if record.requester_email %} {{ record.requester_email }} {% else %}{% endif %}
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 %}
{# ── The people to set up ───────────────────────────────────────────── #} {% set people = schema.people_of(record) %}
Users to Register {{ people | length }}
{% for person in people %} {% endfor %}
No. RoleNameJob TitleEmail Mobile App
{{ loop.index }} {{ person.role_label }} {{ person.name or '—' }} {{ person.job_title or '—' }} {% if person.email %} {{ person.email }} {% else %}—{% endif %} {% if schema.wants_mobile(record, person.key) %} {% else %}{% endif %}
{# ── The requested task matrix — one column per person ──────────────── #}
Requested Tasks & Functions
{% for person in people %} {% endfor %} {% for ref, label, scope in schema.TASKS %} {% for person in people %} {% endfor %} {% endfor %}
Ref Task / Function {{ person.name or 'Person ' ~ loop.index }}
{{ person.role_label }}
{{ ref }} {{ label }} {% if not schema.task_applies(scope, person.role) %} · {% elif schema.cell(record, ref, person.key) %} {% else %} {% endif %}
{% if record.meta %}
Submitted from {{ record.meta.ip or 'unknown address' }}
{% endif %} {% endblock %}