Révision 3cfcd728
Ajouté par Mikaël Ates il y a presque 10 ans
calebasse/actes/models.py | ||
---|---|---|
229 | 229 |
# END Specific to sessad healthcare |
230 | 230 |
|
231 | 231 |
def save(self, *args, **kwargs): |
232 |
if self.is_billed: |
|
233 |
self.already_billed = True |
|
232 | 234 |
super(Act, self).save(*args, **kwargs) |
233 | 235 |
|
234 | 236 |
def duration(self): |
Formats disponibles : Unified diff
actes: set already_billed field at Act model saving.