{# ── "Confirm receipt" result page (phase50) ───────────────────────────────── Landing page for the one-click link in a scheduled-inspection assignment or reminder email. Standalone — NOT extending base.html — because the viewer is typically not logged in and base.html's nav assumes current_user. Same shape as the public QR scan pages (facility_qr/area.html). `status` is always set; `schedule` only for the statuses that found one. confirmed — newly acknowledged (the happy path) already — acknowledged before; a re-click or an email prefetch reassigned — the token's inspector is no longer the assignee inactive — schedule paused or ended since the email went out expired — token older than 30 days invalid — bad signature / mangled link missing — schedule deleted since the email went out #} Confirm Receipt — Scheduled Inspection
{% if status == 'confirmed' %}

Receipt confirmed

Thanks — we've let the scheduler know you've seen this request. Nothing else to do right now.

{% elif status == 'already' %}

Already confirmed

You confirmed this one earlier. No need to do anything else.

{% elif status == 'reassigned' %}

No longer assigned to you

This scheduled inspection has been reassigned to someone else since the email was sent, so there's nothing for you to confirm.

{% elif status == 'inactive' %}

This schedule is no longer active

It has been paused or has reached its end date. No action is needed.

{% elif status == 'expired' %}

This link has expired

Confirmation links are good for 30 days. Sign in to the schedules page to confirm, or ask your supervisor to resend the assignment.

{% elif status == 'missing' %}

Schedule not found

This scheduled inspection has since been removed. No action is needed.

{% else %}

This link isn't valid

The link may have been copied incompletely. Try tapping it directly from the email, or sign in to confirm from the schedules page.

{% endif %} {% if schedule %}
Inspection
{{ schedule.template.name if schedule.template else '—' }} at {{ schedule.facility.name if schedule.facility else '—' }}
Schedule
{{ schedule.recurrence_label }}{% if schedule.due_date %} · due {{ schedule.due_date.strftime('%b %d, %Y') }}{% endif %}
{% endif %}

Janitorial QC System — automated message. Do not reply to the email.