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

{% trans "Observation Report" %}

{% trans "Staff observation analytics and breakdown" %}

{% trans "Export Excel" %}
{% if no_data %}

{% trans "No Observation Data Available" %}

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

{% else %}

{% trans "Total Observations" %}

{{ total_fmt }}

{% trans "Resolution Rate" %}

{{ summary.resolution_rate }}%

{% trans "Critical + High" %}

{{ summary.by_severity.critical|default:0 }} + {{ summary.by_severity.high|default:0 }}

{% trans "Resolved" %}

{{ summary.resolved_count }}

{% trans "Daily Trend" %}

{% trans "By Status" %}

{% trans "By Severity" %}

{% trans "By Source" %}

{% trans "By Category" %}

{% if employee_breakdown %}

{% trans "Per Employee" %}

{% for row in employee_breakdown %} {% endfor %}
{% trans "Employee" %} {% trans "Open" %} {% trans "In Progress" %} {% trans "Resolved" %} {% trans "Total" %}
{{ row.name }} {{ row.open }} {{ row.in_progress }} {{ row.resolved }} {{ row.total_fmt }}
{% endif %} {% if department_breakdown %}

{% trans "Per Department" %}

{% for row in department_breakdown %} {% endfor %}
{% trans "Department" %} {% trans "Open" %} {% trans "In Progress" %} {% trans "Resolved" %} {% trans "Total" %}
{{ row.name }} {{ row.open }} {{ row.in_progress }} {{ row.resolved }} {{ row.total_fmt }}
{% endif %}
{% endif %}
{% endblock %} {% block extra_js %} {% if not no_data and chart_data_json %} {% endif %} {% endblock %}