Project

General

Profile

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

calebasse / calebasse / actes / validation_states.py @ 1edcbebd

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 pointé'
8
VALIDE = u'Présent'
9
ABS_NON_EXC = u'Absence non excusée'
10
ABS_EXC = u'Absence excusée'
11
ABS_INTER = u'Absence intervenant'
12
ANNUL_NOUS = u'Annulé par nous'
13
ANNUL_FAMILLE = u'Annulé par la famille'
14
REPORTE = u'Reporté'
15
ABS_ESS_PPS = u'Absence ESS PPS'
16
ENF_HOSP = u'Enfant hospitalisé'
17
ACT_DOUBLE = u'Acte en double'
18
ACT_LOST = u'Acte perdu'
19

    
20
VALIDATION_STATES = {'NON_VALIDE': NON_VALIDE,
21
            'VALIDE': VALIDE,
22
            'ABS_NON_EXC': ABS_NON_EXC,
23
            'ABS_EXC': ABS_EXC,
24
            'ABS_INTER' : ABS_INTER,
25
            'ANNUL_NOUS': ANNUL_NOUS,
26
            'ANNUL_FAMILLE': ANNUL_FAMILLE,
27
            'REPORTE': REPORTE,
28
            'ABS_ESS_PPS': ABS_ESS_PPS,
29
            'ENF_HOSP': ENF_HOSP,
30
            'ACT_DOUBLE': ACT_DOUBLE,
31
            'ACT_LOST': ACT_LOST}
(8-8/9)