Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
48ddcb53
Commit
48ddcb53
authored
Sep 15, 2017
by
Bram in 't Zandt
Browse files
views.py now uses the new payment field instead of the old paid field
parent
bb3d864a
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/events/views.py
View file @
48ddcb53
...
...
@@ -120,7 +120,10 @@ def export(request, event_id):
'date cancelled'
:
cancelled
,
}
if
event
.
price
>
0
:
data
[
'paid'
]
=
_
(
'Yes'
)
if
registration
.
paid
else
''
if
(
registration
.
payment
!=
'no_payment'
):
data
[
'paid'
]
=
_
(
'Yes'
)
else
:
data
[
'paid'
]
=
''
data
.
update
({
field
[
'field'
].
name
:
field
[
'value'
]
for
field
in
registration
.
registration_information
()})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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