{% if month.locked %}
{% else %}
{% endif %}
|
{{ month.month|month_name }}
|
{% if showStats %}
{{ work_times_result(monthShould, monthIs, decimal) }}
{% endif %}
|
{{ monthShould|duration(decimal) }}
|
{{ monthIs|duration(decimal) }}
|
{% if (day.workingTime.expectedTime != 0 or day.workingTime.actualTime != 0) and (now > day.day or day.workingTime.actualTime > 0) %}
{% if day.hasAddons() %}
{% set statusTitle = '' %}
{% for addon in day.getAddons() %}
{% set statusTitle = statusTitle ~ (addon.title|trans) ~ ' (' ~ addon.visibleDuration|duration(decimal) ~ ')' %}
{% if not loop.last %}
{% set statusTitle = statusTitle ~ ', ' %}
{% endif %}
{% endfor %}
{% endif %}
{{ work_times_result(day.workingTime.expectedTime, day.workingTime.actualTime, decimal) }}
{% endif %}
| |
{% set event = actions(app.user, 'contract_month', 'index', {'year': year, 'month': month}) %}
{{ table_actions(event.actions) }}
|