{% if sessions_are_included %} {% endif %}
{{ search_filter_form }}
{% if showing_courses %} {% for course in courses %}
{{ course.title }}
{% set course_description_url = _p.web_ajax ~ 'course_home.ajax.php?' ~ {'code': course.code, 'a': 'show_course_information'}|url_encode() %}

{{ course.title }}

    {% for teacher in course.teachers %}
  • {{ teacher }}
  • {% endfor %}

{{ course.currency }} {{ course.price }}

{% if course.enrolled == "YES" %}
{{ 'TheUserIsAlreadyRegisteredInTheCourse'|get_plugin_lang('BuyCoursesPlugin') }}
{% elseif course.enrolled == "NO" %} {% elseif course.enrolled == "TMP" %}
{{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }}
{% endif %}
{% endfor %} {% endif %} {% if showing_sessions %} {% for session in sessions %}
{{ session.name }}

{{ session.name }}

{% if 'show_session_coach'|api_get_setting == 'true' %}

{{ session.coach }}

{% endif %}

{{ session.dates.display }}

{{ session.currency }} {{ session.price }}

    {% for course in session.courses %}
  • {{ course.title }} {% if course.coaches|length %}
      {% for coach in course.coaches %}
    • {{ coach }}
    • {% endfor %}
    {% endif %}
  • {% endfor %}
{% if session.enrolled == "YES" %}
{{ 'TheUserIsAlreadyRegisteredInTheSession'|get_plugin_lang('BuyCoursesPlugin') }}
{% elseif session.enrolled == "NO" %} {% elseif session.enrolled == "TMP" %}
{{ 'WaitingToReceiveThePayment'|get_plugin_lang('BuyCoursesPlugin') }}
{% endif %}
{% endfor %} {% endif %} {% if showing_services %} {% for service in services %}
{{ service.name }}

{{ service.name }}

  • {{ 'Duration'|get_plugin_lang('BuyCoursesPlugin') }} : {{ service.duration_days == 0 ? 'NoLimit' | get_lang : service.duration_days ~ ' ' ~ 'Days' | get_lang }}
  • {% if service.applies_to == 0 %}
  • {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'None' | get_lang }}
  • {% elseif service.applies_to == 1 %}
  • {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'User' | get_lang }}
  • {% elseif service.applies_to == 2 %}
  • {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'Course' | get_lang }}
  • {% elseif service.applies_to == 3 %}
  • {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'Session' | get_lang }}
  • {% elseif service.applies_to == 4 %}
  • {{ 'AppliesTo'|get_plugin_lang('BuyCoursesPlugin') }} {{ 'TemplateTitleCertificate' | get_plugin_lang('BuyCoursesPlugin') }}
  • {% endif %}
  • {{ service.owner_name }}

{{ service.currency == 'BRL' ? 'R$' : service.currency }} {{ service.price }}

{% endfor %} {% endif %}