Ajoute la note en mode de paiment pour les ventes
This commit is contained in:
parent
1a06bcf4f9
commit
cb2a389077
1 changed files with 5 additions and 0 deletions
|
@ -1171,6 +1171,7 @@ def set_vente(proprio):
|
|||
menu.append(u'"Spc" "Espèces" ')
|
||||
menu.append(u'"Chq" "Chèque" ')
|
||||
menu.append(u'"Cb" "Carte bancaire" ')
|
||||
menu.append(u'"Note" "Note Kfet (attention, moins traçable)" ')
|
||||
if isimprimeur and proprio.solde() - f.total() > 0:
|
||||
menu.append(u'"Sol" "Solde Crans (actuel : %s€)" ' % (proprio.solde()))
|
||||
|
||||
|
@ -1197,6 +1198,10 @@ def set_vente(proprio):
|
|||
f.modePaiement('cheque')
|
||||
paiement = u"Chèque"
|
||||
annul, comment = dialog(arg)
|
||||
elif result[0] == "Note":
|
||||
f.modePaiement('note')
|
||||
paiement = u"Note"
|
||||
annul, comment = dialog(arg)
|
||||
elif result[0] == "Sol" and isimprimeur:
|
||||
f.modePaiement('solde')
|
||||
paiement = u"Solde Crans"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue