Projet

Général

Profil

« Précédent | Suivant » 

Révision d0819102

Ajouté par Serghei Mihai (congés, retour 15/05) il y a presque 10 ans

agenda: periodic schedule form is the same as the create form

Voir les différences:

calebasse/agenda/forms.py
107 107

  
108 108
    patient = make_ajax_field(EventWithAct, 'patient', 'patientrecord', False)
109 109

  
110
    class Meta(NewAppointmentForm.Meta):
111
        fields = (
112
                'start_datetime',
113
                'date',
114
                'time',
115
                'duration',
116
                'patient',
117
                'participants',
118
                'ressource',
119
                'act_type',
120
        )
121

  
122 110
    def clean_patient(self):
123 111
        return self.cleaned_data['patient']
124 112

  
......
185 173
                'services',
186 174
                'description',
187 175
                'recurrence_periodicity',
188
                'recurrence_end_date'
176
                'recurrence_end_date',
189 177
        )
190 178
        widgets = {
191 179
                'start_datetime': forms.HiddenInput,

Formats disponibles : Unified diff