{% extends "personnes/base.html" %} {% block extrascripts %} {{ block.super }} {% endblock %} {% block appbar %}

Personnel - {{ object.last_name }} {{ object.first_name }} {% if holiday %}(en congé jusqu'au {{ holiday.end_date|date:"j F" }}){% endif %}

Retourner à l'administration du personnel
{% endblock %} {% block content %} {% if messages %} {% endif %}
{% csrf_token %}

État civil

{% for field in forms.id %} {{ field.label_tag }} : {{ field }} {% endfor %}

{% csrf_token %}

Services

{{ forms.services.services }}

Horaires de travail

{% for weekday, name in weekdays %} {% endfor %} {% for timetable in timetables %} {% endfor %}
{{ name|capfirst }}
{% for schedule in timetable.schedules %} De {{ schedule.start_time }} à {{ schedule.end_time }} {% if not forloop.last %}
{% endif %} {% empty %} - {% endfor %}

Congés

    {% for holiday in holidays %}
  • {{ holiday|capfirst }} {% if holiday.is_current and holiday.service %} (congés annuels, en cours) {% elif holiday.is_current %} (en cours) {% elif holiday.service %} (congés annuels) {% endif %} {% if holiday.comment %} « {{ holiday.comment }} » {% endif %}
  • {% endfor %}
{% endblock %} {% block dialogs %} {% endblock %}