{% extends '@Approval/layout.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% block report_title %}{{ report_title|trans }}{% endblock %} {% block report %}
{{ form_start(form, {'attr': {'class': 'form-inline', 'id': 'overtime_filter_form'}}) }}
{{ form_row(form.user, {'label': false}) }} {{ form_row(form.linkButton) }}
{{ form_end(form) }}
{% block table %}
{% for entry in weeklyEntries %} {% set overtime = entry.actualDuration - entry.expectedDuration %} {% endfor %}
{{ 'header.begin'|trans}} {{ 'header.end'|trans}} {{ 'stats.duration_expected'|trans}} {{ 'stats.duration_actual'|trans}} {{ 'label.overtime'|trans}} {{ 'label.yearly_overtime'|trans}} {{ 'table.status'|trans}}
{{ entry.startDate }} {{ entry.endDate }} {{ entry.expectedDuration | duration }} {{ entry.actualDuration | duration }} {{ overtime | duration }} {{ entry.overtimeYearly | duration }} {{ entry.status }}
{% endblock %} {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %}