Revision d5f5c285
Added by Serghei Mihai over 10 years ago
calebasse/dossiers/views_utils.py | ||
---|---|---|
14 | 14 |
""" |
15 | 15 |
status = [] |
16 | 16 |
close_btn = STATES_BTN_MAPPER['CLOS'] |
17 |
if 'next_rdv' in ctx:
|
|
17 |
if ctx.get('next_rdv'):
|
|
18 | 18 |
close_btn = STATES_BTN_MAPPER['CLOS_RDV'] |
19 | 19 |
if ctx['object'].service.slug == "cmpp": |
20 | 20 |
ctx['can_rediag'] = ctx['object'].create_diag_healthcare(user) |
Also available in: Unified diff
dossiers: record's warning about linked schedules triggered correctly
Closes #2527