{% extends "layouts/base.html" %} {% load i18n %} {% block title %}Inquiry Reports - PX360{% endblock %} {% block content %}

{% trans "Inquiry Reports" %}

{% trans "Incoming & Outgoing inquiry analysis from HIS data" %}

{% if no_data %}

{% trans "No Inquiry Data Available" %}

{% trans "There are no inquiry records in the database for the selected hospital." %}

{% else %}

{% trans "Incoming Total" %}

{{ incoming_total_fmt }}

{% trans "Outgoing Total" %}

{{ outgoing_total_fmt }}

{% trans "1st / 2nd Half" %}

{{ incoming.first_half }} / {{ incoming.second_half }}

{% trans "Incoming split" %}

{% trans "SLA Compliance" %}

{{ incoming.sla_compliance }}%

{% trans "Incoming contacted rate" %}

{% trans "Incoming - Daily Trend" %}

{% trans "Outgoing - Daily Trend" %}

{% trans "Incoming by Status" %}

{% trans "Outgoing by Status" %}

{% trans "Timeline SLA Distribution" %}

{% if employee_breakdown %}

{% trans "Incoming - Per Employee" %}

{% for row in employee_breakdown %} {% endfor %}
{% trans "Employee" %} {% trans "No Response" %} {% trans "In Progress" %} {% trans "Contacted" %} {% trans "Total" %}
{{ row.name }} {{ row.contacted_no_response }} {{ row.in_progress }} {{ row.contacted }} {{ row.total_fmt }}
{% endif %} {% if department_breakdown %}

{% trans "Outgoing - Per Department" %}

{% for row in department_breakdown %} {% endfor %}
{% trans "Department" %} {% trans "No Response" %} {% trans "In Progress" %} {% trans "Contacted" %} {% trans "Total" %}
{{ row.name }} {{ row.contacted_no_response }} {{ row.in_progress }} {{ row.contacted }} {{ row.total_fmt }}
{% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {% if not no_data and chart_data_json %} {% endif %} {% endblock %}