{% extends '@Approval/layout.html.twig' %} {% from '@Approval/macros.html.twig' import status_color_class %} {% block report_title %}{{ report_title|trans }}{% endblock %} {% block report %} {% if past_rows is not empty %}

{{ 'table.past_weeks'|trans }}

{% for row in past_rows %} {% endfor %}
{{ 'table.approve_user'|trans }} {{ 'table.approve_week'|trans }} {{ 'table.approve_status'|trans }}
{{ row['user'] }} {{ row['week'] }} {{ row['status']|trans }}
{% endif %}

{{ 'table.current_week'|trans }}

{% for row in current_rows %} {% endfor %}
{{ 'table.approve_user'|trans }} {{ 'table.approve_week'|trans }} {{ 'table.approve_status'|trans }}
{{ row['user'] }} {{ row['week'] }} {{ row['status']|trans }}
{% if future_rows is not empty %}

{{ 'table.future_week'|trans }}

{% for row in future_rows %} {% endfor %}
{{ 'table.approve_user'|trans }} {{ 'table.approve_week'|trans }} {{ 'table.approve_status'|trans }}
{{ row['user'] }} {{ row['week'] }} {{ row['status']|trans }}
{% endif %} {% endblock %}