Commit db929676 authored by nanoy's avatar nanoy Committed by Gabriel Detraz
Browse files

fix: 🐛 Fix voucher_pdf function (#315)

Replace date_end by date_end_memb in voucher_pdf. Close #315
parent 9abd329e
......@@ -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,
},
)
......
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