Project

General

Profile

Download (794 Bytes) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / actes / validation_states.py @ 26c60057

1
# -*- coding: utf-8 -*-
2
'''
3
    The state name is for instance the string 'NON_VALIDE'
4
    The value given in the dictionnary can only be used for display.
5
'''
6

    
7
NON_VALIDE = u'Non validé'
8
VALIDE = u'Validé'
9
ABS_NON_EXC = u'Absence non excusée'
10
ABS_EXC = u'Absence excusée'
11
ANNUL_NOUS = u'Annulé par nous'
12
ANNUL_FAMILLE = u'Annulé par la famille'
13
ABS_ESS_PPS = u'Absence ESS PPS'
14
ENF_HOSP = u'Enfant hospitalisé'
15
ACT_DOUBLE = u'Acte en double'
16

    
17
VALIDATION_STATES = {'NON_VALIDE': NON_VALIDE,
18
            'VALIDE': VALIDE,
19
            'ABS_NON_EXC': ABS_NON_EXC,
20
            'ABS_EXC': ABS_EXC,
21
            'ANNUL_NOUS': ANNUL_NOUS,
22
            'ANNUL_FAMILLE': ANNUL_FAMILLE,
23
            'ABS_ESS_PPS': ABS_ESS_PPS,
24
            'ENF_HOSP': ENF_HOSP,
25
            'ACT_DOUBLE': ACT_DOUBLE}
(8-8/9)