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