Various updates

This commit is contained in:
Nico Schottelius 2020-08-09 10:14:49 +02:00
commit 89519e48a9
5 changed files with 79 additions and 56 deletions

View file

@ -685,34 +685,24 @@ oAsAAAAAAACGQNAFAAAAAAAAQyDoAgAAAAAAgCEQdAEAAAAAAMAQCLoAAAAAAABgCP83AL6WQ1Y7
</div>
<div class="d4">
<div class="b1">
Rechnungsdatum:
<br> Rechnungsnummer
<br> Zahlbar bis
{{ bill.starting_date|date:"c" }} -
{{ bill.ending_date|date:"c" }}
<br>Bill id: {{ bill }}
<br>Due: {{ bill.due_date }}
</div>
<div class="b2">
{{ bill.creation_date.date }}<br>
{% if bill.billing_address.vat_number != "" %}
{{ bill.billing_address.vat_number
}}<br>
{% else %}
None<br>
{% endif %}
{{ bill.billing_address.vat_number }}<br>
{{ bill.due_date }}
</div>
</div>
<div style="clear: both;"></div>
<div class="d5">
<h1>RECHNUNG</h1>
<h1>Invoice</h1>
</div>
<table>
<thead>
<tr>
<th>Detail</th>
<th>Quantity</th>
<th>Units</th>
<th>Price/Unit</th>
<th class="tr">Total</tH>
<th class="tr">Total price</tH>
</tr>
</thead>
<tbody>
@ -733,17 +723,17 @@ oAsAAAAAAACGQNAFAAAAAAAAQyDoAgAAAAAAgCEQdAEAAAAAAMAQCLoAAAAAAABgCP83AL6WQ1Y7
</table>
<div class="wf th">
<p class="ts">
<span class="tl">Total</span>
<span class="tl">Total (excl. VAT)</span>
<span class="tr">{{ bill.amount }}</span>
</p>
<p class="ts">
<span class="tl">VAT</span>
<span class="tl">VAT 7.7%</span>
<span class="tr">{{ bill.vat_amount|floatformat:2 }}</span>
</p>
</div>
<div class="wf pc">
<p class="bold">
<span class="tl">Total</span>
<span class="tl">Total amount to be paid</span>
<span class="tr">{{ bill.sum|floatformat:2 }}</span>
</p>
</div>