From ba0a0b19fddfb5dfbdcc36a76dc11c8027964d91 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Thu, 16 Oct 2014 21:39:18 +0200 Subject: [PATCH] gest_crans: enable CB pour vente --- gestion/gest_crans.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gestion/gest_crans.py b/gestion/gest_crans.py index 2b29b4d1..4deb2a90 100755 --- a/gestion/gest_crans.py +++ b/gestion/gest_crans.py @@ -1060,6 +1060,7 @@ def set_vente(proprio): menu.append(u'"Spc" "Espèces" ') menu.append(u'"Chq" "Chèque" ') + menu.append(u'"Cb" "Carte bancaire" ') if isimprimeur: menu.append(u'"Sol" "Solde Crans (actuel : %s€)" ' % (proprio.solde())) @@ -1079,7 +1080,7 @@ def set_vente(proprio): f.modePaiement('liquide') paiement=u"Espèce" annul, comment = dialog(arg) - elif result[0] == "Carte": + elif result[0] == "Cb": f.modePaiement('carte') paiement=u"Carte Bancaire" comment = None