fw6: kludge post-adhésion glissante
On peut probablement faire mieux pour ne filtrer que les gens à jour de cotiz mais j'ai la flemme …
This commit is contained in:
parent
fc58eaff92
commit
5506680d62
2 changed files with 2 additions and 11 deletions
|
@ -758,12 +758,7 @@ def blacklist(ipt):
|
|||
|
||||
blcklst = []
|
||||
|
||||
s = db.search('paiement=%s' % ann_scol)
|
||||
if periode_transitoire:
|
||||
tmp=db.search('paiement=%s' % (ann_scol-1))
|
||||
s['adherent'].extend(tmp['adherent'])
|
||||
s['club'].extend(tmp['club'])
|
||||
del tmp
|
||||
s = db.search('nom=*')
|
||||
|
||||
for target in s['adherent'] + s['club']:
|
||||
sanctions = target.blacklist_actif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue