mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-21 19:03:11 +00:00
fix: 🐛 Fix voucher_pdf function (#315)
Replace date_end by date_end_memb in voucher_pdf. Close #315
This commit is contained in:
parent
fec11de740
commit
6dc530830a
1 changed files with 1 additions and 1 deletions
|
@ -1057,7 +1057,7 @@ def voucher_pdf(request, invoice, **_kwargs):
|
|||
"lastname": invoice.user.surname,
|
||||
"email": invoice.user.email,
|
||||
"phone": invoice.user.telephone,
|
||||
"date_end": invoice.get_subscription().latest("date_end").date_end,
|
||||
"date_end": invoice.get_subscription().latest("date_end_memb").date_end_memb,
|
||||
"date_begin": invoice.date,
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue