Skip to content

Commit

Permalink
Protection contre tarifs spéciaux mal saisis
Browse files Browse the repository at this point in the history
  • Loading branch information
bsongis committed May 13, 2019
1 parent 08a9bcd commit 351f6de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ def GetEmail(famille):


def GetTarifsFamilleFields(famille):
return [(tarif.label.lower().replace(" ", "_"), tarif.label if (famille and (famille.tarifs & (1 << tarif.idx))) else "") for tarif in database.creche.tarifs_speciaux]
return [(tarif.label.lower().replace(" ", "_"), tarif.label if (famille and (famille.tarifs & (1 << tarif.idx))) else "") for tarif in database.creche.tarifs_speciaux if tarif.label]


def GetParentFields(parent, index=None):
Expand Down

0 comments on commit 351f6de

Please sign in to comment.