Project

General

Profile

« Previous | Next » 

Revision af376234

Added by Benjamin Dauvergne over 12 years ago

new appointment form: set patient name as title, and set description empty

View differences:

calebasse/agenda/forms.py
56 56
                minutes=self.cleaned_data['duration'])
57 57
        patient = self.cleaned_data['patient']
58 58
        self.instance = EventAct.objects.create_patient_appointment(
59
                title='Rdv ' + patient.display_name,
59
                title=+ patient.display_name,
60 60
                patient=patient,
61 61
                participants=self.cleaned_data['participants'],
62 62
                act_type=self.cleaned_data['act_type'],
63 63
                service=self.service,
64 64
                start_datetime=start_datetime,
65 65
                end_datetime=end_datetime,
66
                description='description #FIXME#',
66
                description='',
67 67
                room=self.cleaned_data['room'],
68 68
                note=None,)
69 69
        return self.instance

Also available in: Unified diff