Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Re2o
re2o
Commits
8ed26a24
Commit
8ed26a24
authored
Jan 13, 2021
by
nanoy
Committed by
Jean-Romain Garnier
Jan 17, 2021
Browse files
fix:
🐛
Fix voucher_pdf function (
#315
)
Replace date_end by date_end_memb in voucher_pdf. Close
#315
parent
6ccd120f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cotisations/views.py
View file @
8ed26a24
...
@@ -1057,7 +1057,7 @@ def voucher_pdf(request, invoice, **_kwargs):
...
@@ -1057,7 +1057,7 @@ def voucher_pdf(request, invoice, **_kwargs):
"lastname"
:
invoice
.
user
.
surname
,
"lastname"
:
invoice
.
user
.
surname
,
"email"
:
invoice
.
user
.
email
,
"email"
:
invoice
.
user
.
email
,
"phone"
:
invoice
.
user
.
telephone
,
"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
,
"date_begin"
:
invoice
.
date
,
},
},
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment