{% extends 'layouts/base.html' %} {% load i18n %} {% block title %}{% trans "Sections" %} - PX360{% endblock %} {% block content %}

{% trans "Sections" %}

{% trans "Manage hospital sections and departments" %}

{% trans "Add Section" %}
{% for section in sections %} {% empty %} {% endfor %}
{% trans "Name" %} {% trans "Code" %} {% trans "Department" %} {% trans "Hospital" %} {% trans "Head" %} {% trans "Status" %} {% trans "Actions" %}
{{ section.name }} {{ section.code|default:"-" }} {{ section.department.name }} {{ section.department.hospital.name }} {{ section.head|default:"-" }} {% if section.status == 'active' %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %}

{% trans "No sections found" %}

{% if page_obj.has_other_pages %}
{% blocktrans with current=page_obj.number total=page_obj.paginator.num_pages %}{{ current }} of {{ total }}{% endblocktrans %}
{% if page_obj.has_previous %} {% endif %} {{ page_obj.number }} {% if page_obj.has_next %} {% endif %}
{% endif %}
{% endblock %}