{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% translate "Complaint Thresholds" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

{% translate "Complaint Thresholds" %}

{% translate "Configure thresholds for automatic alerts and reports" %}

{% translate "Create Threshold" %}

{% translate "Filters" %}

{% translate "Clear" %}

{% translate "All Thresholds" %}

{% if thresholds %}
{% for threshold in thresholds %} {% endfor %}
{% 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 %}
{% csrf_token %}
{% if page_obj.has_other_pages %}

{% 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 %}

{% if page_obj.has_previous %} {% translate "Previous" %} {% endif %} {% if page_obj.has_next %} {% translate "Next" %} {% endif %}
{% endif %} {% else %}

{% translate "No thresholds found" %}

{% translate "Create your first threshold to get started" %}

{% translate "Create Threshold" %}
{% endif %}
{% endblock %}