8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-22 23:13:46 +00:00

Start date set au moment de la validation de la facture

This commit is contained in:
detraz 2019-01-11 20:58:02 +01:00 committed by Hugo LEVY-FALK
parent 124421e011
commit d323ed5937

View file

@ -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
})