membershipworks: Remove commented out line
This commit is contained in:
parent
99060a8a43
commit
c2b1da743c
@ -412,7 +412,6 @@ class EventInvoicePDFView(AccessMixin, BaseDetailView):
|
||||
if request.user.has_perm(
|
||||
"membershipworks.view_eventinvoice"
|
||||
) or invoice.event.user_is_instructor(request.user):
|
||||
# return HttpResponse(invoice.pdf.path)
|
||||
return sendfile(request, invoice.pdf.path, mimetype="application/pdf")
|
||||
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user