[oec-content content=»training»]
{{ data.type }}
{{ data.fecha_inicio|date_format(«d F, Y») }}
{% if data.introduction %}
{{ data.introduction|raw }}
{% endif %}
{{ data.short_description|raw }}
{% if «now»|date(«Ymd») < data.start|date(«Ymd») %}
{{ data.start|date_format(«d F, Y») }}
{% if data.type != «webinar» %}
Finaliza: {{ data.end|date_format(«d F, Y») }} aprox.
{% else %}
Duración: 2 horas aprox.
{% endif %}
{% else %}
{% endif %}
Docentes
{% endfor %}
{% if data.target_audience %}
{{ data.target_audience|raw }}
{% endif %}
{% if data.supports.data is not empty %}
{% for aval in data.supports.data %}
{{ aval.name }}
{% endfor %}
{% endif %}
{# Para un correcto funcionamiento de la carga de precios en los módulos no cambie el nombre ni borre las clases price-module-{{ modulo.number }} #}
{% for modulo in data.modules.data %}
Precio: {{ data.prices.currency }} {{ data.prices.data[modulo.number].amount }}
{{ modulo.lecture_hours }} horas cátedra
Desde: {{ modulo.start|date_format(«d F, Y») }}
Hasta: {{ modulo.end|date_format(«d F, Y») }}
{% for asignatura in modulo.subjects.data %}
{{ asignatura.name }}
Docentes
{% endfor %}
{% endfor %}
{% endfor %}
{% if data.certificates.data is not empty %}
{% for certificate in data.certificates.data %}
{% if certificate.thumb %}
{% endif %}
{{ certificate.organization_name }}
{{ certificate.type }}
{{ certificate.description }}
{% endfor %}
{% endif %}
{% set prices = data.prices %}
{#
Para un correcto funcionamiento de la carga de precios no cambie el nombre ni borre las clases siguientes:
1. early_payment_expiration_date
2. discount-percent
3. total-price
4. just-price
#}
{% if prices.discounts.early_payment and «now»|date(«Ymd») <= prices.discounts.early_payment.expiration|date(«Ymd») %}
Hasta el {{ prices.discounts.early_payment.expiration|date_format(«d F, Y») }}
{{ prices.discounts.early_payment.percentage }}% de descuento
{{ prices.currency }} {{ prices.discounts.early_payment.total }}
{{ data.prices.total }}
{% elseif prices.discounts.full_payment %}
{{ prices.discounts.full_payment.percentage }}% de descuento
{{ prices.currency }} {{ prices.discounts.full_payment.total }}
{{ data.prices.total }}
{% else %}
{{ data.prices.currency }} {{ data.prices.total }}
{% endif %}
{{ data.prices.currency }} {{ data.prices.data[1].amount }} por módulo
COMPRAR
[/oec-content]