{% 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 %}
داشبورد مدیریت رژیم های غذایی
{% trans "recently_received_desc" as recently_received_desc_text %}{% if recently_received_desc_text == "recently_received_desc" %}کاربرانی که طی 7 روز گذشته رژیم دریافت کردهاند{% else %}{{ recently_received_desc_text }}{% endif %}
| {% 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 "تغییرات" %} |
{% for item in recently_received %}
| {{ 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 %}
|
{% empty %}
| {% trans "no_patients_in_category" as no_patients_text %}{% if no_patients_text == "no_patients_in_category" %}هیچ بیماری در این دسته وجود ندارد{% else %}{{ no_patients_text }}{% endif %} |
{% endfor %}
{% trans "active_diets_desc" as active_diets_desc_text %}{% if active_diets_desc_text == "active_diets_desc" %}کاربران با رژیم فعال (بیش از 7 روز باقیمانده){% else %}{{ active_diets_desc_text }}{% endif %}
| {% 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 "تغییرات" %} |
{% for item in active_diets %}
| {{ 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 %}
|
{% empty %}
| {% trans "no_patients_in_category" as no_patients_text2 %}{% if no_patients_text2 == "no_patients_in_category" %}هیچ بیماری در این دسته وجود ندارد{% else %}{{ no_patients_text2 }}{% endif %} |
{% endfor %}
{% trans "expiring_soon_desc" as expiring_soon_desc_text %}{% if expiring_soon_desc_text == "expiring_soon_desc" %}⚠️ کاربرانی که رژیمشان طی 7 روز آینده به پایان میرسد{% else %}{{ expiring_soon_desc_text }}{% endif %}
| {% 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 "تغییرات" %} |
{% for item in expiring_soon %}
| {{ 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 %}
|
{% empty %}
| {% trans "no_patients_in_category" as no_patients_text3 %}{% if no_patients_text3 == "no_patients_in_category" %}هیچ بیماری در این دسته وجود ندارد{% else %}{{ no_patients_text3 }}{% endif %} |
{% endfor %}
{% trans "no_diet_desc" as no_diet_desc_text %}{% if no_diet_desc_text == "no_diet_desc" %}کاربران بدون رژیم تعیین شده{% else %}{{ no_diet_desc_text }}{% endif %}
{% endblock %}