{% if sessionsAreIncluded == "YES" %}
{% endif %}
{% set i = 0 %} {% for course in courses %} {{ i%2 == 0 ? '' : '' }} {% set i = i + 1 %} {% endfor %}
{{ 'Title'|get_lang }} {{ 'OfficialCode'|get_lang }} {{ 'Visible'|get_lang }} {{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'Option'|get_lang }}
{{ visibility[course.visibility] }} {{course.title}} {{ course.visual_code }} {{course.code}} {% if course.visible == 1 %} {% else %} {% endif %} {{ currency }}
ok
{% if sessionsAreIncluded == "YES" %}
{% set i = 0 %} {% for session in sessions %} {{ i%2 == 0 ? '' : '' }} {% set i = i + 1 %} {% endfor %}
{{ 'Title'|get_lang }} {{ 'StartDate'|get_lang }} {{ 'EndDate'|get_lang }} {{ 'Visible'|get_lang }} {{ 'Price'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'Option'|get_lang }}
{{ visibility[session.visibility] }} {{session.name}} {{ session.access_start_date }} {{ session.access_end_date }} {% if session.visible == 1 %} {% else %} {% endif %} {{ currency }}
ok
{% endif %}