dynamicweb/hosting/templates/hosting/bill_detail.html

92 lines
3.2 KiB
HTML
Raw Normal View History

2017-05-05 12:59:11 +00:00
{% extends "hosting/base_short.html" %}
{% load staticfiles bootstrap3 %}
{% load i18n %}
{% block content %}
<div class="">
2017-05-13 11:47:53 +00:00
<div class="orders-container" style="padding-bottom: 15%">
2017-05-08 00:46:11 +00:00
{# Adress bar #}
<div class="row">
<div class="invoice-title">
<h2>{% trans "Invoice"%}</h2><h3 class="pull-right">{% trans "Order #"%} {{bill.id}}</h3>
</div>
2017-05-06 12:44:08 +00:00
</div>
2017-05-08 00:46:11 +00:00
<hr>
<div class="row">
<div class="col-sm-6">
<address>
{{bill.customer.user.name}}<br>
{{bill.billing_address.street_address}},{{bill.billing_address.postal_code}}<br>
{{bill.billing_address.city}}, {{bill.billing_address.country}}.
</address>
</div>
<div class="col-sm-6 text-right">
<address>
{% trans "ungleich GmbH" %}<br>
{% trans "buchhaltung@ungleich.ch" %}<br>
{% trans "Hauptstrasse 14"%}<br>
{% trans "CH-8775 Luchsingen"%}<br>
{% trans "Mwst-Nummer: CHE-109.549.333 MWST"%}<br>
2017-05-05 12:59:11 +00:00
2017-05-08 00:46:11 +00:00
</address>
</div>
</div>
<hr>
<table class="table table-bordered">
{# Bill header #}
<thead>
2017-05-05 12:59:11 +00:00
<tr>
2017-05-08 00:46:11 +00:00
<th>Name</th>
<th>Cores</th>
<th>Memory</th>
<th>Disk Size</th>
<th>Price</th>
</tr>
</thead>
<tbody>
{# Bill items#}
{% for vm in vms %}
<tr>
<td>{{ vm.name }}</td>
<td><span class="pull-right">{{ vm.cores }}</span></td>
2017-06-15 06:48:38 +00:00
<td><span class="pull-right">{{ vm.memory|floatformat }} GB </span></td>
<td><span class="pull-right">{{ vm.disk_size|floatformat }} GB </span></td>
2017-05-08 00:46:11 +00:00
<td><span class="pull-right">{{ vm.price|floatformat }} CHF</span></td>
2017-05-05 12:59:11 +00:00
2017-05-08 00:46:11 +00:00
</tr>
{% endfor %}
{# Bill total#}
<tr>
<td colspan=4> {% trans "Total:" %} </td>
2017-05-09 02:41:35 +00:00
<td> <span class="pull-right">{{ bill.total_price|floatformat}} CHF </span></td>
2017-05-05 12:59:11 +00:00
</tr>
2017-05-08 00:46:11 +00:00
</tbody>
</table>
<hr>
{# Bill Footer #}
<div class="row">
{% trans "Alles Preise in CHF mit 8% Mehrwertsteuer." %}
{% trans "Betrag zahlbar innerhalb von 30 Tagen ab Rechnungseingang." %}
{% trans "Kontoverbindung:" %}
<div class="row">
<div class="col-sm-6">
{% trans "IBAN:" %}
</div>
<div class="col-sm-6">
{% trans "BIC:" %}
</div>
</div>
<div class="row">
<div class="col-sm-6">
2017-05-13 11:47:53 +00:00
{% trans "CH02 0900 0000 6071 8848 8" %}
2017-05-08 00:46:11 +00:00
</div>
<div class="col-sm-6">
{% trans "POFICHBEXXX" %}
</div>
</div>
</div>
2017-05-13 11:47:53 +00:00
</div>
2017-05-05 12:59:11 +00:00
</div>
{% endblock %}