order detail divider lines full width
This commit is contained in:
		
					parent
					
						
							
								3446dcc469
							
						
					
				
			
			
				commit
				
					
						8fb0d9a48a
					
				
			
		
					 2 changed files with 20 additions and 4 deletions
				
			
		| 
						 | 
					@ -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>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue