Project

General

Profile

« Previous | Next » 

Revision d72af982

Added by Mikaël Ates over 11 years ago

dossiers: add some date fields to healthcare model.

View differences:

calebasse/dossiers/models.py
36 36
        app_label = 'dossiers'
37 37

  
38 38
    start_date = models.DateField(verbose_name=u"Date de début")
39
    request_date = models.DateField(verbose_name=u"Date de Demande",
40
        blank=True, null=True)
41
    agree_date = models.DateField(verbose_name=u"Date de d'accord",
42
        blank=True, null=True)
43
    insist_date = models.DateField(verbose_name=u"Date de relance",
44
        blank=True, null=True)
39 45
    patient = models.ForeignKey('dossiers.PatientRecord',
40 46
        verbose_name=u'Dossier patient')
41 47
    created = models.DateTimeField(u'Création', auto_now_add=True)
42 48
    author = \
43 49
        models.ForeignKey(User,
44
        verbose_name=u'Auteur')
50
        verbose_name=u'Auteur', blank=True, null=True)
45 51
    comment = models.TextField(max_length=3000, blank=True, null=True, verbose_name=u"Commentaire")
46 52

  
47 53
    def get_nb_acts_cared(self):

Also available in: Unified diff