{% extends "nobinobi_child/base.html" %} {% load i18n template_filters %} {% block title %}{{ child.full_name }} / {{ from_date }} - {{ end_date }} / {{ title }}{% endblock %} {% block breadcrumb %} {{ block.super }} {% endblock %} {% block content_title %}{{ title }}{% endblock %} {% block content_card_title %}{{ child.full_name }} | {{ from_date|date:"SHORT_DATE_FORMAT" }} - {{ end_date|date:"SHORT_DATE_FORMAT" }}{% endblock %} {% block content_card_body %} {% include "includes/messages.html" %}
{% trans "Periods" %}

{% trans "Planned (subscription)" %}

{% for table in dict_table.values %} {% for period_type, period in table.items %} {% if period_type == "period" %} {% for planned_type, planned in period.planned.items %} {% if planned_type != "total" %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endfor %}
{{ planned.name }} {{ planned.total|stringformat:"d" }} {{ period|get_item:"present"|get_item:planned_type|get_item:"total"|stringformat:"d" }}

{#
#} {#

{% trans "Present" %}

#} {#

#} {# #} {# #} {# {% for period in dict_table.values %}#} {# {% for period_title, period_id in period.period.present.items %}#} {# {% if period_title != "total" %}#} {# #} {# #} {# #} {# #} {# {% endif %}#} {# {% endfor %}#} {# {% endfor %}#} {# #} {#
{{ period_id.name }}{{ period_id.total }}
#} {#

#} {#
#}
{% trans "Absences" %}
{#

{% trans "(subscription)" %}

#}

{% for period in dict_table.values %} {% for absence in period.absence.values %} {% for absence_group, value in absence.items %} {% endfor %} {% endfor %} {% endfor %}
{{ absence_group|capfirst }} {{ value.total|stringformat:"d" }} {{ value.percentage }} %

{% trans "Troubleshooting" %}
{#

{% trans "(subscription)" %}

#}

{% for period in dict_table.values %} {% for period_title, period_id in period.period.troubleshooting.items %} {% if period_title != "total" %} {% endif %} {% endfor %} {% endfor %}
{{ period_id.name }} {{ period_id.total|stringformat:"d" }}

{% endblock %} {% block content_card_footer %} {% endblock %}