order detail divider lines full width

This commit is contained in:
Arvind Tiwari 2018-05-12 21:59:06 +05:30
parent 3446dcc469
commit 8fb0d9a48a
2 changed files with 20 additions and 4 deletions

View file

@ -65,8 +65,12 @@
<span>{% trans "Disk space" %}: </span>
<strong class="pull-right">{{vm.disk_size|intcomma}} GB</strong>
</p>
</div>
<div class="col-sm-12">
<hr class="thin-hr">
{% if vm.vat > 0 or vm.discount.amount > 0 %}
</div>
{% if vm.vat > 0 or vm.discount.amount > 0 %}
<div class="col-sm-6">
<div class="subtotal-price">
{% if vm.vat > 0 %}
<p>
@ -86,8 +90,12 @@
</p>
{% endif %}
</div>
</div>
<div class="col-sm-12">
<hr class="thin-hr">
{% endif %}
</div>
{% endif %}
<div class="col-sm-6">
<p class="total-price">
<strong>{% trans "Total" %} </strong>
<strong class="pull-right">{{vm.total_price|floatformat:2|intcomma}} CHF</strong>

View file

@ -127,8 +127,12 @@
<span>{% trans "Disk space" %}: </span>
<strong class="pull-right">{{vm.disk_size}} GB</strong>
</p>
</div>
<div class="col-sm-12">
<hr class="thin-hr">
{% if vm.vat > 0 or vm.discount.amount > 0 %}
</div>
{% if vm.vat > 0 or vm.discount.amount > 0 %}
<div class="col-sm-6">
<div class="subtotal-price">
{% if vm.vat > 0 %}
<p>
@ -148,8 +152,12 @@
</p>
{% endif %}
</div>
</div>
<div class="col-sm-12">
<hr class="thin-hr">
{% endif %}
</div>
{% endif %}
<div class="col-sm-6">
<p class="total-price">
<strong>{% trans "Total" %} </strong>
<strong class="pull-right">{% if vm.total_price %}{{vm.total_price|floatformat:2|intcomma}}{% else %}{{vm.price|floatformat:2|intcomma}}{% endif %} CHF</strong>