Commit 4da804bf authored by Hugo LEVY-FALK's avatar Hugo LEVY-FALK

Invalide la facture Comnpay avant de continuer le paiement.

parent 2845c49a
......@@ -26,5 +26,7 @@ class ComnpayPayment(models.Model):
def end_payment(self, invoice, request):
invoice.valid = False
content = comnpay(invoice, request)
return render(request, 'cotisations/payment.html', content)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment