{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "PX Sources" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% trans "Manage patient experience source channels" %}
| {% trans "Code" %} | {% trans "Name (EN)" %} | {% trans "Name (AR)" %} | {% trans "Type" %} | {% trans "Usage" %} | {% trans "Status" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|
| {{ source.code }} | {{ source.name_en }} | {{ source.name_ar|default:"-" }} | {% if source.source_type == 'internal' %} {% elif source.source_type == 'external' %} {% elif source.source_type == 'partner' %} {% elif source.source_type == 'government' %} {% else %} {% endif %} {{ source.get_source_type_display }} |
{{ source.total_complaints }} {% trans "complaints" %}
{{ source.total_inquiries }} {% trans "inquiries" %}
|
{% if source.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %} |
{% if user.is_px_admin or user.is_hospital_admin %}
{% if source.is_active %}
{% else %}
{% endif %}
{% if user.is_px_admin %}
{% endif %}
{% endif %}
|
|
{% trans "No sources found" %} {% trans "Add your first source to get started" %} |
||||||