Revision 72f229a9
Added by Jérôme Schneider about 12 years ago
| calebasse/agenda/appointments.py | ||
|---|---|---|
|
self.workers = None
|
||
|
self.workers_initial = None
|
||
|
self.workers_codes = None
|
||
|
self.act_id = None
|
||
|
self.act_state = None
|
||
|
self.act_absence = None
|
||
|
self.weight = 0
|
||
| ... | ... | |
|
self.len_workers = event.participants.count()
|
||
|
self.workers_absent = event.get_missing_participants()
|
||
|
if event.event_type.id == 1:
|
||
|
self.act_id = event.act.id
|
||
|
self.convocation_sent = event.convocation_sent
|
||
|
self.patient = event.patient
|
||
|
self.patient_record_id = event.patient.id
|
||
|
self.patient_record_paper_id = event.patient.paper_id
|
||
|
self.act_type = event.act_type.name
|
||
|
self.description = event.act.comment
|
||
|
self.is_billed = event.act.is_billed
|
||
|
state = event.get_state()
|
||
|
state_name = state.state_name if state else 'NON_VALIDE'
|
||
Also available in: Unified diff
agenda: synchronize enventwithact description with act comment
Ref #4006