Projet

Général

Profil

« Précédent | Suivant » 

Révision 3aeb5201

Ajouté par Mikaël Ates il y a presque 10 ans

actes: define rebilling Act model property.

Voir les différences:

calebasse/actes/models.py
142 142
            return self.parent_event.description
143 143
        return None
144 144

  
145
    @property
146
    def rebilling(self):
147
        if self.already_billed and not self.is_billed and not self.is_lost:
148
            return True
149
        return False
150

  
145 151
    def get_hc_tag(self):
146 152
        if self.healthcare:
147 153
            beg = None

Formats disponibles : Unified diff