{% extends 'reporting/layout.html.twig' %}
{% block report_title %}{{ report_title|trans({}, 'reporting') }}{% endblock %}
{% block report %}
{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
{% from "macros/widgets.html.twig" import nothing_found %}
{% block box_before %}
{{ form_start(form, {'attr': {'class': 'form-inline form-reporting', 'id': 'user-list-filter-form'}}) }}
{% endblock %}
{% block box_after %}
{{ form_end(form) }}
{% endblock %}
{% block box_title %}
{{ form_widget(form.date) }}
{% if form.team is defined %}
{{ form_widget(form.team) }}
{% endif %}
{% if form.sumType.vars.choices|length > 1 %}
{% endif %}
{% endblock %}
{% block box_body_class %}{{ box_id }} table-responsive {% if hasData %}no-padding{% endif %}{% endblock %}
{% block box_body %}
{% if not hasData %}
{{ nothing_found() }}
{% else %}
{% embed 'reporting/user_list_period_data.html.twig' %}
{% block period_name %}
{{ column|month_name }}
{{ column|date_format('Y') }}
{% endblock %}
{% block total_rate_user %}
{{ usersTotalRate|money }}
{% endblock %}
{% block total_internal_rate_user %}
{{ usersTotalInternalRate|money }}
{% endblock %}
{% block total_duration_user %}
{{ usersTotalDuration|duration(decimal) }}
{% endblock %}
{% block rate %}
{{ period.totalRate|money }}
{% endblock %}
{% block internal_rate %}
{{ period.totalInternalRate|money }}
{% endblock %}
{% block duration %}
{{ period.totalDuration|duration(decimal) }}
{% endblock %}
{% endembed %}
{% endif %}
{% endblock %}
{% endembed %}
{% endblock %}
{% block javascripts %}
{{ parent() }}
{% endblock %}