{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %}
{% endwith %}
Jobcard
{{ svc.jobcard.jobcard_code if svc.jobcard else '—' }}
Service
{{ svc.service_name or 'Service Not Mapped' }}
Status
{% if svc.checklist_status == "Submitted" %}
Submitted
{% else %}
Pending
{% endif %}
{% if svc.quote_item %}
Assigned Item
{{ svc.quote_item.item_name }}
{% if svc.quote_item.description %}
{{ svc.quote_item.description }}
{% endif %}
{% endif %}
{% if svc.checklist_status == "Submitted" %}
This checklist has already been submitted. Thank you.
{% else %}
{% if questions|length > 0 %}
{% else %}
No checklist questions are configured for this job.
{% endif %}
{% endif %}