Plus de sale hack sur paiement=<anne en cours> quand on est en septembre
Maintenant pour savoir si un peiement est valide pour la priode en cours il suffira de chercher avec paiement=ok darcs-hash:20040930224644-41617-62aecb62998fc489eb30b40fb3cb707af60ed12e.gz
This commit is contained in:
parent
b6e6dfa2f3
commit
25e5ed6874
7 changed files with 17 additions and 14 deletions
|
@ -17,7 +17,7 @@ class bl_carte_etudiant(gen_config) :
|
|||
def _gen(self) :
|
||||
fd=self._open_conf(self.BL_CARTE)
|
||||
|
||||
base = self.base.search('paiement=%s' % self.ann_scol)
|
||||
base = self.base.search('paiement=ok')
|
||||
for adh in ( [ self.crans ] + base['adherent'] + base['club'] ):
|
||||
for machine in adh.machines() :
|
||||
self.anim.cycle()
|
||||
|
@ -39,7 +39,7 @@ class bl_upload_squid(gen_config) :
|
|||
def _gen(self) :
|
||||
upload = self._open_conf( self.BL_UPLOAD )
|
||||
|
||||
base = self.base.search('paiement=%s' % self.ann_scol)
|
||||
base = self.base.search('paiement=ok')
|
||||
for adh in ( [ self.crans ] + base['adherent'] + base['club'] ):
|
||||
for machine in adh.machines() :
|
||||
self.anim.cycle()
|
||||
|
@ -64,7 +64,7 @@ class bl_virus(gen_config) :
|
|||
def _gen(self) :
|
||||
virus = self._open_conf( self.BL_VIRUS )
|
||||
|
||||
base = self.base.search('paiement=%s' % self.ann_scol)
|
||||
base = self.base.search('paiement=ok')
|
||||
for machine in base['machine'] :
|
||||
self.anim.cycle()
|
||||
bl = machine.blacklist_actif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue