From d323ed5937e2a79ea1adf464c59ed4aecb00bcbf Mon Sep 17 00:00:00 2001 From: detraz Date: Fri, 11 Jan 2019 20:58:02 +0100 Subject: [PATCH] Start date set au moment de la validation de la facture --- cotisations/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cotisations/views.py b/cotisations/views.py index 98157210..ea9e6f44 100644 --- a/cotisations/views.py +++ b/cotisations/views.py @@ -1170,5 +1170,5 @@ def voucher_pdf(request, invoice, **_kwargs): 'email': invoice.user.email, 'phone': invoice.user.telephone, 'date_end': invoice.get_subscription().latest('date_end').date_end, - 'date_begin': invoice.get_subscription().earliest('date_start').date_start + 'date_begin': invoice.date })