{% extends "base.html.twig" %} {% block localstyle %} {% endblock %} {% block body %}

GERER MES POINTAGES

Retour Semaine Suivante Semaine Précedente {% if message is defined and not message is empty %}
Erreur
{{ message|raw }}
{% endif %}
{% set trans_day_hash = { "Monday": "Lundi", "Tuesday": "Mardi", "Wednesday": "Mercredi", "Thursday": "Jeudi", "Friday": "Vendredi", "Saturday": "Samedi", "Sunday": "Dimanche" } %} {%for date in dates %} {% if date["tallyday"] is empty %} {% else %} {% endif %} {%endfor%}
Action Date AM début AM fin PM début PM fin Durée
{% if date["tallyday"] is empty or (not date["tallyday"].validateuser and not date["tallyday"].validatemaster) %} {% if not firstvalidate or firstvalidate.dateof < date["date"] %} {% endif %} {% elseif not date["tallyday"].validatemaster %} {% endif %} {{ trans_day_hash[date["date"]|date('l')] }} {{date["date"]|date("d/m/Y")}} 00:00{% if date["tallyday"].datestartam is not null %}{{date["tallyday"].datestartam|date("H:i")}}{%endif%} {% if date["tallyday"].dateendam is not null %}{{date["tallyday"].dateendam|date("H:i")}}{%endif%} {% if date["tallyday"].datestartpm is not null %}{{date["tallyday"].datestartpm|date("H:i")}}{%endif%} {% if date["tallyday"].dateendpm is not null %}{{date["tallyday"].dateendpm|date("H:i")}}{%endif%} {{ date["tallyday"].timedayformatted }}
TOTAL SEMAINE = {{ timeweek }}
{% endblock %} {% block localjavascript %} $(document).ready(function() { $('#dataTables').DataTable({ columnDefs: [ { "targets": "no-sort", "orderable": false }, { "targets": "no-string", "type" : "num" } ], responsive: true, iDisplayLength: 100, paging: false, ordering: false, info: false, searching: false, }); }); {% endblock %}