Project

General

Profile

« Previous | Next » 

Revision 8ef57f1f

Added by Mikaël Ates over 11 years ago

actes: Use the new status management.

View differences:

calebasse/facturation/list_acts.py
127 127
    acts_accepted = {}
128 128
    for patient, acts in acts_billable.items():
129 129
        for act in acts:
130
            if patient.was_in_state_at_day(act.date, 'CAMSP_STATE_SUIVI'):
130
            if patient.was_in_state_at_day(act.date, 'SUIVI'):
131 131
                if act.patient in acts_accepted:
132 132
                    acts_accepted[act.patient].append(act)
133 133
                else:
......
180 180
    for patient, acts in acts_billable.items():
181 181
        for act in acts:
182 182
            if patient.was_in_state_at_day(act.date,
183
                    'SESSAD_STATE_TRAITEMENT'):
183
                    'TRAITEMENT'):
184 184
                if not act.was_covered_by_notification():
185 185
                    if act.patient in acts_missing_valid_notification:
186 186
                        acts_missing_valid_notification[act.patient]. \

Also available in: Unified diff