diff --git a/apps/school/templates/blocks/_schedule_purchased_item.html b/apps/school/templates/blocks/_schedule_purchased_item.html
index 5690d7aa..00656e4a 100644
--- a/apps/school/templates/blocks/_schedule_purchased_item.html
+++ b/apps/school/templates/blocks/_schedule_purchased_item.html
@@ -11,10 +11,12 @@
{{ school_schedule.start_at }} (МСК)
- {% if school_schedule.weekday in school_schedules_purchased and live_lesson and live_lesson.title %}
- {% include './open_lesson.html' %}
+ {% if school_schedule.weekday in school_schedules_purchased %}
+ {% if live_lesson and live_lesson.title %}
+ {% include './open_lesson.html' %}
+ {% endif %}
{% else %}
- {% include './day_pay_btn.html' %}
+ {% include './day_pay_btn.html' %}
{% endif %}
{% comment %}
diff --git a/apps/school/templates/summer/_schedule_purchased_item.html b/apps/school/templates/summer/_schedule_purchased_item.html
index 5690d7aa..00656e4a 100644
--- a/apps/school/templates/summer/_schedule_purchased_item.html
+++ b/apps/school/templates/summer/_schedule_purchased_item.html
@@ -11,10 +11,12 @@
{{ school_schedule.start_at }} (МСК)
- {% if school_schedule.weekday in school_schedules_purchased and live_lesson and live_lesson.title %}
- {% include './open_lesson.html' %}
+ {% if school_schedule.weekday in school_schedules_purchased %}
+ {% if live_lesson and live_lesson.title %}
+ {% include './open_lesson.html' %}
+ {% endif %}
{% else %}
- {% include './day_pay_btn.html' %}
+ {% include './day_pay_btn.html' %}
{% endif %}
{% comment %}