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
700ec21f
Commit
700ec21f
authored
Feb 17, 2019
by
Joren Vrancken
Browse files
Merge branch 'fix/payments-export' into 'master'
Fix NoneType error in payments csv export See merge request
!1169
parents
8ac789cc
fc9a8938
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/payments/admin.py
View file @
700ec21f
...
...
@@ -159,9 +159,12 @@ class PaymentAdmin(admin.ModelAdmin):
payment
.
processing_date
,
payment
.
amount
,
payment
.
get_type_display
(),
payment
.
processed_by
.
get_full_name
(),
payment
.
paid_by
.
pk
,
payment
.
paid_by
.
get_full_name
(),
payment
.
processed_by
.
get_full_name
()
if
payment
.
processed_by
else
'-'
,
payment
.
paid_by
.
pk
if
payment
.
paid_by
else
'-'
,
payment
.
paid_by
.
get_full_name
()
if
payment
.
paid_by
else
'-'
,
payment
.
notes
])
return
response
...
...
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