Project

General

Profile

« Previous | Next » 

Revision c082b14e

Added by Jérôme Schneider almost 13 years ago

agenda: don't authorized edition of patient for a periodic appointment

Fixes #2791

View differences:

calebasse/agenda/templates/agenda/appointment.html
</td>
<td {% if form.patient.field.required %}class="required"{% endif %}>
<h4>{{ form.patient.label_tag }}</h4>
{% if object.exception_to and not object.exception_to.canceled %}
{{ object.patient }}
{% else %}
{{ form.patient }}
{{ form.patient.errors }}
{% endif %}
</td>
<td {% if form.act_type.field.required %}class="required"{% endif %}>
<h4>{{ form.act_type.label_tag }}</h4>

Also available in: Unified diff