{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{{ department.get_localized_name }} - {% trans "Inquiries" %} - PX360{% endblock %} {% block content %}
{% trans "Departments" %} {{ department.get_localized_name }} {% trans "Inquiries" %}

{% trans "Department Inquiries" %}

{{ department.get_localized_name }} · {{ department.hospital.name }}

{% if search_query or status_filter or priority_filter or date_from or date_to %} {% trans "Clear" %} {% endif %}
{% include "partials/list_stats_bar.html" %}
{% for i in inquiries %} {% empty %} {% endfor %}
{% trans "Reference" %} {% trans "Subject" %} {% trans "Contact" %} {% trans "Assigned To" %} {% trans "Status" %} {% trans "Priority" %} {% trans "Response SLA" %} {% trans "Created" %} {% trans "Actions" %}
{{ i.reference_number }} {{ i.subject }} {{ i.contact_name|default:"-" }} {{ i.assigned_to.get_full_name|default:"-" }} {{ i.get_status_display }} {{ i.get_priority_display }} {% if i.dept_response_sla_due_at and not i.department_responded_at %} {% elif i.dept_response_is_overdue %} {% trans "Overdue" %} {% elif i.department_responded_at %} {% else %} - {% endif %} {{ i.created_at|date:"Y-m-d" }} {% trans "View" %} {% if can_respond and i.status == 'open' or can_respond and i.status == 'in_progress' %} {% trans "Respond" %} {% endif %}
{% trans "No inquiries found" %}
{% include "partials/pagination.html" %} {% include "components/department_response_modal.html" %}
{% endblock %}