Plus besoin de caution pour rajouter une machine fixe.
darcs-hash:20060831153643-68412-fcc37b9f79413c3f6599f64037f09ec4fc44b9fb.gz
This commit is contained in:
parent
8780000940
commit
a85ad28b70
1 changed files with 0 additions and 13 deletions
|
@ -1857,19 +1857,6 @@ def menu_principal():
|
||||||
annul, result = dialog(arg)
|
annul, result = dialog(arg)
|
||||||
if annul: continue
|
if annul: continue
|
||||||
choix= result[0]
|
choix= result[0]
|
||||||
elif not caution_ok:
|
|
||||||
arg = u'--title "Nouvelle machine" '
|
|
||||||
arg += u'--menu " Caution non payée\n\n'
|
|
||||||
arg += u'Pour pouvoir incrire une machine fixe, il faut avoir '
|
|
||||||
arg += u'payé la caution." 0 0 0 '
|
|
||||||
arg += u'"OK" "OK, on lui rajoute une machine wifi" '
|
|
||||||
arg += u'"Annul" "Bon, on abandonne..." '
|
|
||||||
annul, result = dialog(arg)
|
|
||||||
if annul or result[0] == "Annul": continue
|
|
||||||
if result[0] == "OK":
|
|
||||||
choix = 'Wifi'
|
|
||||||
else:
|
|
||||||
continue
|
|
||||||
else:
|
else:
|
||||||
# Plus de machine fixe possible...
|
# Plus de machine fixe possible...
|
||||||
arg = u'--title "Nouvelle machine" '
|
arg = u'--title "Nouvelle machine" '
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue