{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% translate "Complaint Thresholds" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% translate "Configure thresholds for automatic alerts and reports" %}
| {% translate "Hospital" %} | {% translate "Threshold Name" %} | {% translate "Type" %} | {% translate "Metric" %} | {% translate "Threshold Value" %} | {% translate "Category" %} | {% translate "Action" %} | {% translate "Status" %} | {% translate "Actions" %} |
|---|---|---|---|---|---|---|---|---|
| {{ threshold.hospital.name }} | {{ threshold.name }} | {{ threshold.get_threshold_type_display }} | {{ threshold.get_metric_type_display }} | {{ threshold.threshold_value }} | {% if threshold.complaint_category %} {{ threshold.complaint_category.name }} {% else %} {% translate "All Categories" %} {% endif %} | {{ threshold.get_action_display }} | {% if threshold.is_active %} {% translate "Active" %} {% else %} {% translate "Inactive" %} {% endif %} |
{% blocktrans with start=page_obj.start_index end=page_obj.end_index total=page_obj.paginator.count %} Showing {{ start }} to {{ end }} of {{ total }} thresholds {% endblocktrans %}
{% translate "No thresholds found" %}
{% translate "Create your first threshold to get started" %}
{% translate "Create Threshold" %}