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

View file

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