begin to add pdf view of bill into admin

This commit is contained in:
Nico Schottelius 2020-06-21 23:46:26 +02:00
commit 11de455d23
2 changed files with 61 additions and 2 deletions

View file

@ -26,7 +26,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{{ bill.reference }} | {{ bill.uuid }}</title>
<title>{{ bill }}</title>
<style>
body {
@ -693,7 +693,8 @@ oAsAAAAAAACGQNAFAAAAAAAAQyDoAgAAAAAAgCEQdAEAAAAAAMAQCLoAAAAAAABgCP83AL6WQ1Y7
<div class="b2">
{{ bill.creation_date.date }}<br>
{% if bill.billing_address.vat_number != "" %}
{{ bill.billing_address.vat_number %}<br>
{{ bill.billing_address.vat_number
}}<br>
{% else %}
None<br>
{% endif %}