{% load widget_tweaks %} {% load url from future %} {{ form.non_field_errors }} {{ form.start_datetime }} {{ form.start_datetime.errors }} {% if object.is_recurring and object.one_act_not_new %}

Le rendez-vous périodique a un acte qui est pointé ce qui empêche de le modifier à l'exception de la description, de la ressource et de la date de fin.

{% endif %} {% if object.is_recurring and object.one_act_not_new %}

Le rendez-vous périodique a un acte qui est pointé ce qui empêche de le supprimer.

{% endif %}

{{ form.time.label_tag }} {% if object.is_recurring and object.one_act_not_new %} {{ object.time }} {{ form.time.as_hidden }} {% else %} {{ form.time }} {% endif %} {{ form.time.errors }}

{{ form.duration.label_tag }} {% if object.is_recurring and object.one_act_not_new %} {{ object.duration }} {{ form.duration.as_hidden }} {% else %} {{ form.duration }} {% endif %} {{ form.duration.errors }}

{{ form.date.label_tag }} {% if object.is_recurring and object.one_act_not_new %} {{ object.date }} {{ form.date.as_hidden }} {% else %} {{ form.date|add_class:"datepicker-date" }} {% endif %} {{ form.date.errors }}

{{ form.ressource.label_tag }} {{ form.ressource }} {{ form.ressource.errors }}

{{ form.participants.label_tag }}

{% if object.is_recurring and object.one_act_not_new %}
    {% for p in object.participants.all %}
  • {{ p }}
  • {% endfor %}
{% else %} {{ form.participants }} {% endif %} {{ form.participants.errors }}

{{ form.patient.label_tag }}

{% if object.is_recurring or object.exception_to or object.act.already_billed %} {{ object.patient }} {{ form.patient.as_hidden }} {% else %} {{ form.patient }} {{ form.patient.errors }} {% endif %}

{{ form.act_type.label_tag }}

{% if object.is_recurring and object.one_act_not_new %} {{ object.act_type }} {{ form.act_type.as_hidden }} {% else %} {{ form.act_type }} {% endif %} {{ form.act_type.errors }}
{{ form.description.label_tag }} {{ form.description }} {{ form.description.errors }}
{% if object.exception_to %}
{% if object.id != object.exception_to.id %}

Attention: cette occurrence est une exception au rendez-vous périodique; si vous modifiez l'heure, la durée, le commentaire, la ressource, les participants ou le type d'acte du rendez-vous périodique, les exceptions ne sont pas modifiées.

{% endif %}

Occurence du {{object.exception_date}} d'un rendez-vous périodique {% if object.exception_to.canceled %}supprimé et initialement prévu{% endif %} {{ object.exception_to.recurrence_description|lower }}

{% if not object.exception_to.canceled %}

{% endif %} {% endif %}