From 6459345620e7208626d36076b78e0be43670e3ce Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Sun, 17 Jun 2018 16:31:47 +0200 Subject: [PATCH] Autorise le paiement de cotisation directement en ligne (sans passer par le solde) --- cotisations/payment.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cotisations/payment.py b/cotisations/payment.py index 0b673c66..4749bd05 100644 --- a/cotisations/payment.py +++ b/cotisations/payment.py @@ -44,8 +44,6 @@ def accept_payment(request, factureid): 'end_date': request.user.end_adhesion() } ) - else: - invoice.delete() return redirect(reverse( 'users:profil', kwargs={'userid': request.user.id}