Add subtotal and VAT to hosting order detail too
This commit is contained in:
		
					parent
					
						
							
								4c21110c00
							
						
					
				
			
			
				commit
				
					
						2ac1ac7d97
					
				
			
		
					 1 changed files with 6 additions and 2 deletions
				
			
		|  | @ -129,13 +129,17 @@ | ||||||
|                         </p> |                         </p> | ||||||
|                         {% if vm.vat > 0 %} |                         {% if vm.vat > 0 %} | ||||||
|                             <p> |                             <p> | ||||||
|                                 <span>{% trans "VAT" %}: </span> |                                 <span>{% trans "Subtotal" %}: </span> | ||||||
|  |                                 <span class="pull-right">{{vm.price|floatformat:2|intcomma}} CHF</span> | ||||||
|  |                             </p> | ||||||
|  |                             <p> | ||||||
|  |                                 <span>{% trans "VAT" %} ({{ vm.vat_percent|floatformat:2|intcomma }}%): </span> | ||||||
|                                 <span class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</span> |                                 <span class="pull-right">{{vm.vat|floatformat:2|intcomma}} CHF</span> | ||||||
|                             </p> |                             </p> | ||||||
|                         {% endif %} |                         {% endif %} | ||||||
|                         <p> |                         <p> | ||||||
|                             <span>{% trans "Total" %}</span> |                             <span>{% trans "Total" %}</span> | ||||||
|                             <span class="pull-right">{{vm.price|intcomma}} CHF</span> |                             <span class="pull-right">{% if vm.total_price %}{{vm.total_price|floatformat:2|intcomma}}{% else %}{{vm.price|floatformat:2|intcomma}}{% endif %} CHF</span> | ||||||
|                         </p> |                         </p> | ||||||
|                     </div> |                     </div> | ||||||
|                 </div> |                 </div> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue