Paiement par note pour les ventes dans gest_crans_lc (comportement identique à gest_crans)
This commit is contained in:
parent
565a2ae8ed
commit
4279b3db23
1 changed files with 2 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue