Revision 8b425432
Added by Mikaël Ates almost 13 years ago
| calebasse/dossiers/models.py | ||
|---|---|---|
|
# There is a billable act after the last state so either it is diag
|
||
|
# or it is treament
|
||
|
if last_act_hc and last_hc and \
|
||
|
last_act_hc.date > self.last_state.date_selected:
|
||
|
last_act_hc.date > self.last_state.date_selected.date():
|
||
|
if hasattr(last_hc, 'cmpphealthcarediagnostic'):
|
||
|
state_switcher(True, last_act_hc)
|
||
|
else:
|
||
Also available in: Unified diff
dossiers: fix typo.