{% embed '@AdminLTE/Widgets/box-widget.html.twig' %}
{% block box_title %}
{% if not title is empty %}{{ title|trans }}{% endif %}
{% endblock %}
{% block box_attributes %}
id="PaginatedWorkingTimeChart" data-href="#" data-reload=""
{% endblock %}
{% block box_tools %}
{% endblock %}
{% block box_body %}
{{ render_widget('DailyWorkingTimeChart', options|merge({'begin': data.begin, 'end': data.end})) }}
{% endblock %}
{% block box_footer %}
{{ 'stats.workingTimeToday'|trans({'%day%': 'now'|date_short}) }}
{{ 'stats.workingTimeWeek'|trans({'%week%': data.begin|date_format('W')}) }}
{{ 'stats.workingTimeMonth'|trans({'%month%': data.thisMonth|month_name, '%year%': data.thisMonth|date_format('Y')}) }}
{{ 'stats.workingTimeYear'|trans({'%year%': data.thisMonth|date_format('Y')}) }}
{% endblock %}
{% endembed %}