Project

General

Profile

« Previous | Next » 

Revision 5b5935ff

Added by Mikaël Ates over 10 years ago

agenda: reccurrence periodicity can not be modified on an event with already billed acts.

View differences:

calebasse/agenda/templates/agenda/periodicity.html
4 4
           <td {% if form.recurrence_periodicity.field.required %}class="required"{% endif %}>
5 5
            <p>
6 6
           {{ form.recurrence_periodicity.label_tag }}
7
           {% if object.one_act_already_billed %}
8
           {{ object.recurrence_description }}
9
           {{ form.recurrence_periodicity.as_hidden }}
10
           {% else %}
7 11
           {{ form.recurrence_periodicity }}
8 12
           {{ form.recurrence_periodicity.errors }}
13
           {% endif %}
9 14
           </p>
10 15
           </td>
11 16
           <td {% if form.recurrence_end_date.field.required %}class="required"{% endif %}>

Also available in: Unified diff