gest_crans: s'adapte à dialog (plus de '\n') (bis)
J'en avais oublié
This commit is contained in:
parent
5c3a8ee252
commit
f3711404a6
1 changed files with 3 additions and 3 deletions
|
@ -1756,7 +1756,7 @@ def set_facture_recu(facture):
|
|||
annul, res = dialog(arg)
|
||||
if annul:
|
||||
return 1
|
||||
if "Pmt\n" in res:
|
||||
if u"Pmt" in res:
|
||||
facture.recuPaiement(strftime("%Y-%m-%d %H:%M:%S"))
|
||||
else:
|
||||
facture.recuPaiement(False)
|
||||
|
@ -1774,9 +1774,9 @@ def set_facture_controle(facture):
|
|||
annul, res = dialog(arg)
|
||||
if annul:
|
||||
return 1
|
||||
if "Ctl\n" in res:
|
||||
if "Ctl" in res:
|
||||
facture.controle(True)
|
||||
elif "NCtl\n" in res:
|
||||
elif "NCtl" in res:
|
||||
facture.controle(False)
|
||||
else:
|
||||
facture.controle("")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue