Bug : trop de prises actives.
darcs-hash:20041013233200-41617-4cea801c0dc17d26fa7034d3b7fad5bfe2cb6795.gz
This commit is contained in:
parent
f0fb450beb
commit
d78f8bc158
1 changed files with 1 additions and 2 deletions
|
@ -294,7 +294,7 @@ exit
|
||||||
|
|
||||||
# Macs sur la prise
|
# Macs sur la prise
|
||||||
nb = 0
|
nb = 0
|
||||||
res = self.db.search('chbre=%s%s' % (bat.upper(), chbre) )
|
res = self.db.search('chbre=%s%s&paiement=ok' % (bat.upper(), chbre) )
|
||||||
res = res['adherent'] + res['club']
|
res = res['adherent'] + res['club']
|
||||||
if nb>=3 :
|
if nb>=3 :
|
||||||
warn += 'Trop de macs sur la prise %i\n' % prise
|
warn += 'Trop de macs sur la prise %i\n' % prise
|
||||||
|
@ -309,7 +309,6 @@ exit
|
||||||
nb += 1
|
nb += 1
|
||||||
else :
|
else :
|
||||||
warn += 'Plusieurs adherents dans la chambre %s%s\n' % (bat.upper(), chbre)
|
warn += 'Plusieurs adherents dans la chambre %s%s\n' % (bat.upper(), chbre)
|
||||||
|
|
||||||
if not macs :
|
if not macs :
|
||||||
prise_params['etat']='\n disable'
|
prise_params['etat']='\n disable'
|
||||||
else :
|
else :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue