{{ anyo }} - {{ infoCalendario.TCALENDARIOS[0].TITULO }}

{% if tipoCalendario==1 %}

Usuario: {{ infoCalendario.TUSUARIOS[0].TITULO }}

{% endif %}
{% set cont=0 %} {% set contDiasYear=1 %} {% for month in visual.dates %}
{% for dayW in visual.diaSemana %} {% endfor %} {% set contDias=1 %} {% set contWeek=0 %} {% for week in month %} {% for dayW in visual.weekdays %} {% if week[dayW] is defined %} {% endfor %} {% set contWeek=contWeek+1 %} {% endfor %} {% if contWeek==5 %} {% for i in 1..7 %} {% endfor %} {% endif %}
{{ visual.meses[cont] }}
{{ dayW }}
{{ contDias }} {% set contDias=contDias+1 %} {% set contDiasYear=contDiasYear+1 %} {% else %} {{ ' ' }} {% endif %}
{{ ' ' }}
{% set cont=cont+1 %} {% endfor %}
{% set diaTipo=0 %} {% set horaTipo=0 %} {% for total in totales %} {% if total.TIPO==0 %} {% elseif total.TIPO==1 %} {% elseif total.TIPO==2 %} {% elseif total.TIPO==3 %} {% endif %} {% set diaTipo=diaTipo+total.DIAS %} {% set horaTipo=horaTipo+total.HORAS %} {% endfor %}
Totales
Jornada Días Horas
{{ 'Normales' }}{{ 'Festivos' }}{{ 'Vacaciones' }}{{ 'Laboral No trabajado' }}{{ total.DIAS }} {{ total.HORAS }}
Total: {{ diaTipo }} {{ horaTipo }}
{{ 'Horas Convenio:' }} {{ infoCalendario.TCALENDARIOS[0].THORAS_CONVENIO[0].HORAS_CONVENIO }}
{{ 'Diferencia:' }} {{ horaTipo-infoCalendario.TCALENDARIOS[0].THORAS_CONVENIO[0].HORAS_CONVENIO }}
{% set diaJor=0 %} {% set horaJor=0 %} {% for jornada in jornadas %} {% set diaJor=diaJor+jornada.DIAS %} {% set horaJor=horaJor+jornada.HORAS %} {% endfor %}
Totales por Jornada
Jornada Días Horas
{{ jornada.TITULO }}
{{ jornada.HORARIO }}
{{ jornada.DIAS }} {{ jornada.HORAS }}
Total: {{ diaJor }} {{ horaJor }}

{{ 'OBSERVACIONES:' }}

{{ infoCalendario.TCALENDARIOS[0].THORAS_CONVENIO[0].OBSERVACIONES }}