Project

General

Profile

« Previous | Next » 

Revision 3aeb5201

Added by Mikaël Ates (de retour le 5 mars) over 9 years ago

actes: define rebilling Act model property.

View differences:

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

Also available in: Unified diff