{% extends 'doctor/base.html' %} {% load static %} {% block sidebar.dashboard %} {% endblock %} {% block sidebar.patients %} {% endblock %} {% block sidebar.challenge %} {% endblock %} {% block sidebar.appointments %} {% endblock %} {% block sidebar.shop %} class="active" {% endblock %} {% block content %}

آیتم ها

{% for item in items %}
{{ item.name }}

تگ سرویس : {{ item.tag }}

{% if item.service_type == "plan" %}

مدت اشتراک : {{ item.duration_months }} ماه

نوع پلن : {{ item.get_plan_type_display }}

{% endif %} {% if item.is_coin %}

نوع پول : سکه (coin)

{% else %}

نوع پول : پول (هزار تومان)

{% endif %} {% if item.promotion_percentage > 0 and item.promotion_end_date %}

قیمت اصلی : {{ item.price }}

قیمت با تخفیف : {{ item.get_current_price }}

تخفیف : {{ item.promotion_percentage }}%

تاریخ پایان تخفیف : {{ item.promotion_end_date }}

{% else %}

قیمت : {{ item.price }}

{% endif %}

توضیحات : {{ item.description }}

{% if item.image %}

عکس محصول :

{{ item.name }} {% else %}

عکس محصول : ندارد

{% endif %}
{% endfor %}
{% endblock %} {% block script %} {% endblock %}