{% extends "layouts/public_base.html" %} {% load i18n static %} {% block title %}{% trans "Track Your Inquiry" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% get_available_languages as LANGUAGES %} {% get_current_language as LANGUAGE_CODE %} {% for lang_code, lang_name in LANGUAGES %} {% if lang_code == 'en' %}🇬🇧{% elif lang_code == 'ar' %}🇸🇦{% endif %} {{ lang_name }} {% endfor %}
Al Hammadi Hospital

{% trans "Track Your Inquiry" %}

{% trans "Enter your reference number below to see real-time updates on your inquiry." %}

{% csrf_token %}

{% trans "Found in your confirmation email" %}

{% if error_message %}

{% trans "Reference Not Found" %}

{{ error_message }}

{% endif %} {% if inquiry %}
{% trans "Inquiry Reference" %}

{{ inquiry.reference_number }}

{{ public_status.label }}
{% if inquiry.escalated_at %}
{% trans "Escalated" %}
{% endif %}
{% trans "Submitted" %}

{{ inquiry.created_at|date:"M d, Y" }}

{% trans "Department" %}

{{ inquiry.department.name|default:"General" }}

{% if inquiry.due_at %} {% trans "SLA Deadline" %}

{{ inquiry.due_at|date:"M d, H:i" }}

{% if inquiry.is_overdue %} {% endif %} {% else %} {% trans "Subject" %}

{{ inquiry.subject|truncatechars:30 }}

{% endif %}
{% if has_response %}

{% trans "Response" %}

{% if response_en %}
English
{{ response_en }}
{% endif %} {% if response_ar %}
العربية
{{ response_ar }}
{% endif %}
{% else %}

{% trans "Your inquiry is being reviewed. Updates will appear here." %}

{% endif %}

{% trans "For privacy reasons, detailed notes and internal communications are not shown here." %}

{% endif %}
{% trans "Track Another Submission" %}
{% endblock %}