{% extends "nobinobi_child/base.html" %}
{% load i18n static %}
{% block title %}{{ title }}{% endblock %}
{% block content_title %}{{ title }}{% endblock %}
{% block breadcrumb %}
{{ block.super }}
{% trans "Kitchen" %}
{% endblock %}
{% block content_card_title %}{% trans "Week of" %} {{ day_list.0|date:"SHORT_DATE_FORMAT" }} {% trans "to" %} {{ day_list.4|date:"SHORT_DATE_FORMAT" }}{% endblock %}
{% block content_card_body %}
{% include "includes/messages.html" %}
{% trans "Creche" %}
{% trans "Classroom" %} |
{% trans "Age group" %} |
{% for day in day_list %}
{{ day|date:"l j F"|capfirst }} |
{% endfor %}
{% for classroom, age_groups in children_dict.items %}
{% for age_group, days in age_groups.items %}
{{ classroom }} ({{ classroom.get_mode_display }}) |
{{ age_group }} |
{% for day, values in days.items %}
{{ values.normal.total }} (+{{ values.restrict.total }}) |
{% endfor %}
{% endfor %}
{% endfor %}
{% trans "Total" %} |
{% for age_group_id, age_group in total_dict.age_group.items %}
{{ age_group.name }} |
{% for day_id, day in age_group.days.items %}
{{ day.normal }} (
)
|
{% endfor %}
{% endfor %}
{% for id, age_group in total_dict.age_group.items %}
{% for day, day_value in age_group.days.items %}
{% trans "Child" %} |
{% for food_restriction in food_restrictions %}
{{ food_restriction.name }} |
{% endfor %}
{% for child, child_value in day_value.restrict_dict.items %}
{{ child.full_name }} ({{ child.classroom.name }}) |
{% for fr in child_value.values %}
{% if fr %}{% endif %} |
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% trans "Kindergarten" %}
{% trans "Classroom" %} |
{% trans "Age group" %} |
{% for day in day_list %}
{{ day|date:"l j F"|capfirst }} |
{% endfor %}
{% for classroom, age_groups in children_dict_kindergarten.items %}
{% for age_group, days in age_groups.items %}
{{ classroom }} ({{ classroom.get_mode_display }}) |
{{ age_group }} |
{% for day, values in days.items %}
{{ values.normal.total }} (+{{ values.restrict.total }}) |
{% endfor %}
{% endfor %}
{% endfor %}
{% trans "Total" %} |
{% for age_group_id, age_group in total_dict_kindergarten.age_group.items %}
{{ age_group.name }} |
{% for day_id, day in age_group.days.items %}
{{ day.normal }} (
)
|
{% endfor %}
{% endfor %}
{% for id, age_group in total_dict_kindergarten.age_group.items %}
{% for day, day_value in age_group.days.items %}
{% trans "Child" %} |
{% for food_restriction in food_restrictions %}
{{ food_restriction.name }} |
{% endfor %}
{% for child, child_value in day_value.restrict_dict.items %}
{{ child.full_name }} ({{ child.classroom.name }}) |
{% for fr in child_value.values %}
{% if fr %}{% endif %} |
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}
{% block content_card_footer %}
{% endblock %}