From 4279b3db2391efa8307a6c8dbbdeaeaf5c13b198 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sun, 22 Nov 2015 20:15:19 +0100 Subject: [PATCH] =?UTF-8?q?Paiement=20par=20note=20pour=20les=20ventes=20d?= =?UTF-8?q?ans=20gest=5Fcrans=5Flc=20(comportement=20identique=20=C3=A0=20?= =?UTF-8?q?gest=5Fcrans)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/dialog/proprio.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gestion/dialog/proprio.py b/gestion/dialog/proprio.py index 5f4f50de..99ba802a 100644 --- a/gestion/dialog/proprio.py +++ b/gestion/dialog/proprio.py @@ -411,11 +411,12 @@ class Dialog(machine.Dialog, blacklist.Dialog): "cheque" : "Chèque", "carte" : "Par carte bancaire", "solde" : "Solde Crans (actuel : %s€)", + "note" : "Note kfet (attention, moins tracable...)", "arbitraire" : "Création ou destruction magique d'argent.", } def box_choose_paiment(tag, articles): - box_paiement_order = ["liquide", "cheque", "carte"] + box_paiement_order = ["liquide", "cheque", "carte","note"] if "cransAccount" in proprio['objectClass']: if not "SOLDE" in [art['code'] for art in articles] and proprio["solde"]: box_paiement_order.append("solde")