{% extends 'assistant/base.html' %} {% load static %} {% load i18n %} {% block sidebar.dashboard %} {% endblock %} {% block sidebar.patients %} {% endblock %} {% block sidebar.diet_management %} class="active" {% endblock %} {% block content %}

داشبورد مدیریت رژیم های غذایی

{{ total_patients }}

{% trans "total_patients" as total_patients_text %}{% if total_patients_text == "total_patients" %}کل بیماران{% else %}{{ total_patients_text }}{% endif %}

{{ recently_received_count }}

{% trans "recently_received" as recently_received_text %}{% if recently_received_text == "recently_received" %}رژیم های اخیر{% else %}{{ recently_received_text }}{% endif %}

{{ active_diets_count }}

{% trans "active_diets" as active_diets_text %}{% if active_diets_text == "active_diets" %}رژیم های فعال{% else %}{{ active_diets_text }}{% endif %}

{{ expiring_soon_count }}

{% trans "expiring_soon" as expiring_soon_text %}{% if expiring_soon_text == "expiring_soon" %}نزدیک به اتمام{% else %}{{ expiring_soon_text }}{% endif %}
{% trans "recently_received_desc" as recently_received_desc_text %}{% if recently_received_desc_text == "recently_received_desc" %}کاربرانی که طی 7 روز گذشته رژیم دریافت کرده‌اند{% else %}{{ recently_received_desc_text }}{% endif %}
{% for item in recently_received %} {% empty %} {% endfor %}
{% trans "نام" %} {% trans "نام خانوادگی" %} {% trans "from_date" as from_date_text %}{% if from_date_text == "from_date" %}تاریخ شروع{% else %}{{ from_date_text }}{% endif %} {% trans "days_since_start" as days_since_start_text %}{% if days_since_start_text == "days_since_start" %}روز از شروع{% else %}{{ days_since_start_text }}{% endif %} {% trans "days_remaining" as days_remaining_text %}{% if days_remaining_text == "days_remaining" %}روز باقیمانده{% else %}{{ days_remaining_text }}{% endif %} {% trans "تغییرات" %}
{{ item.patient.profile.first_name }} {{ item.patient.profile.last_name }} {{ item.jalali_date }} {{ item.days_since_start }} {% trans "days" as days_text %}{% if days_text == "days" %}روز{% else %}{{ days_text }}{% endif %} {{ item.days_remaining }} {% trans "days" as days_text2 %}{% if days_text2 == "days" %}روز{% else %}{{ days_text2 }}{% endif %} {% trans "مشاهده" %} {% trans "view_diet" as view_diet_text %}{% if view_diet_text == "view_diet" %}مشاهده رژیم{% else %}{{ view_diet_text }}{% endif %}
{% trans "no_patients_in_category" as no_patients_text %}{% if no_patients_text == "no_patients_in_category" %}هیچ بیماری در این دسته وجود ندارد{% else %}{{ no_patients_text }}{% endif %}
{% trans "active_diets_desc" as active_diets_desc_text %}{% if active_diets_desc_text == "active_diets_desc" %}کاربران با رژیم فعال (بیش از 7 روز باقیمانده){% else %}{{ active_diets_desc_text }}{% endif %}
{% for item in active_diets %} {% empty %} {% endfor %}
{% trans "نام" %} {% trans "نام خانوادگی" %} {% trans "from_date" as from_date_text2 %}{% if from_date_text2 == "from_date" %}تاریخ شروع{% else %}{{ from_date_text2 }}{% endif %} {% trans "days_since_start" as days_since_start_text2 %}{% if days_since_start_text2 == "days_since_start" %}روز از شروع{% else %}{{ days_since_start_text2 }}{% endif %} {% trans "days_remaining" as days_remaining_text2 %}{% if days_remaining_text2 == "days_remaining" %}روز باقیمانده{% else %}{{ days_remaining_text2 }}{% endif %} {% trans "تغییرات" %}
{{ item.patient.profile.first_name }} {{ item.patient.profile.last_name }} {{ item.jalali_date }} {{ item.days_since_start }} {% trans "days" as days_text3 %}{% if days_text3 == "days" %}روز{% else %}{{ days_text3 }}{% endif %} {{ item.days_remaining }} {% trans "days" as days_text4 %}{% if days_text4 == "days" %}روز{% else %}{{ days_text4 }}{% endif %} {% trans "مشاهده" %} {% trans "view_diet" as view_diet_text2 %}{% if view_diet_text2 == "view_diet" %}مشاهده رژیم{% else %}{{ view_diet_text2 }}{% endif %}
{% trans "no_patients_in_category" as no_patients_text2 %}{% if no_patients_text2 == "no_patients_in_category" %}هیچ بیماری در این دسته وجود ندارد{% else %}{{ no_patients_text2 }}{% endif %}
{% trans "expiring_soon_desc" as expiring_soon_desc_text %}{% if expiring_soon_desc_text == "expiring_soon_desc" %}⚠️ کاربرانی که رژیمشان طی 7 روز آینده به پایان می‌رسد{% else %}{{ expiring_soon_desc_text }}{% endif %}
{% for item in expiring_soon %} {% empty %} {% endfor %}
{% trans "نام" %} {% trans "نام خانوادگی" %} {% trans "from_date" as from_date_text3 %}{% if from_date_text3 == "from_date" %}تاریخ شروع{% else %}{{ from_date_text3 }}{% endif %} {% trans "days_since_start" as days_since_start_text3 %}{% if days_since_start_text3 == "days_since_start" %}روز از شروع{% else %}{{ days_since_start_text3 }}{% endif %} {% trans "days_remaining" as days_remaining_text3 %}{% if days_remaining_text3 == "days_remaining" %}روز باقیمانده{% else %}{{ days_remaining_text3 }}{% endif %} {% trans "تغییرات" %}
{{ item.patient.profile.first_name }} {{ item.patient.profile.last_name }} {{ item.jalali_date }} {{ item.days_since_start }} {% trans "days" as days_text5 %}{% if days_text5 == "days" %}روز{% else %}{{ days_text5 }}{% endif %} {% if item.days_remaining == 0 %} {% trans "expired" as expired_text %}{% if expired_text == "expired" %}منقضی شده{% else %}{{ expired_text }}{% endif %} {% else %} {{ item.days_remaining }} {% trans "days" as days_text6 %}{% if days_text6 == "days" %}روز{% else %}{{ days_text6 }}{% endif %} {% endif %} {% trans "مشاهده" %} {% trans "view_diet" as view_diet_text3 %}{% if view_diet_text3 == "view_diet" %}مشاهده رژیم{% else %}{{ view_diet_text3 }}{% endif %}
{% trans "no_patients_in_category" as no_patients_text3 %}{% if no_patients_text3 == "no_patients_in_category" %}هیچ بیماری در این دسته وجود ندارد{% else %}{{ no_patients_text3 }}{% endif %}
{% trans "no_diet_desc" as no_diet_desc_text %}{% if no_diet_desc_text == "no_diet_desc" %}کاربران بدون رژیم تعیین شده{% else %}{{ no_diet_desc_text }}{% endif %}
{% for item in no_diet %} {% empty %} {% endfor %}
{% trans "نام" %} {% trans "نام خانوادگی" %} {% trans "جنسیت" %} {% trans "تغییرات" %}
{{ item.patient.profile.first_name }} {{ item.patient.profile.last_name }} {% if item.patient.profile.gender %} {% trans "زن" %} {% else %} {% trans "مرد" %} {% endif %} {% trans "مشاهده" %} {% trans "add_diet" as add_diet_text %}{% if add_diet_text == "add_diet" %}افزودن رژیم{% else %}{{ add_diet_text }}{% endif %}
{% trans "no_patients_in_category" as no_patients_text4 %}{% if no_patients_text4 == "no_patients_in_category" %}هیچ بیماری در این دسته وجود ندارد{% else %}{{ no_patients_text4 }}{% endif %}
{% endblock %}