Revert "Generate PDFs from Power Test Records (#594)"

This reverts commit 6c8eb380fd.
This commit is contained in:
nickw29
2024-10-15 23:02:56 +01:00
committed by GitHub
parent 6c8eb380fd
commit ded31adbb4
6 changed files with 0 additions and 190 deletions

View File

@@ -232,16 +232,6 @@ class RAPrint(PrintView):
return context
class PowerPrint(PrintView):
model = models.PowerTestRecord
template_name = 'hs/power_print.xml'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['filename'] = f"PowerTestRecord_for_{context['object'].event.display_id}.pdf"
return context
class EventCheckIn(generic.CreateView, ModalURLMixin):
model = models.EventCheckIn
template_name = 'hs/eventcheckin_form.html'