various updates

This commit is contained in:
Nico Schottelius 2020-10-25 13:52:36 +01:00
commit 8959bc6ad5
7 changed files with 103 additions and 10 deletions

View file

@ -201,6 +201,7 @@ class BillViewSet(viewsets.ReadOnlyModelViewSet):
Allow to download
"""
bill = self.get_object()
provider = UncloudProvider.get_provider()
output_file = NamedTemporaryFile()
bill_html = render_to_string("bill.html.j2", {'bill': bill})