various updates
This commit is contained in:
parent
0cd8a3a787
commit
8959bc6ad5
7 changed files with 103 additions and 10 deletions
|
|
@ -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})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue