Parcourir la source

ajout méthode de paiement liquide et facture

Élie Bouttier il y a 7 ans
Parent
commit
80f5ea144b
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      banking/models.py

+ 4 - 0
banking/models.py

@@ -67,9 +67,13 @@ class PaymentUpdate(models.Model):
     FREE = 1
     DEBIT = 2
     TRANSFER = 3
+    CASH = 4
+    INVOICE = 5
     PAYMENT_CHOICES = (
         (DEBIT, 'Prélèvement'),
         (TRANSFER, 'Virement'),
+        (CASH, 'Liquide'),
+        (INVOICE, 'Facture'),
         (FREE, 'Gratuit'),
         (STOP, 'Arrêt'),
     )