Virtual machine detail: use hostingorder for obtaining the price,
rather than the serializer
This commit is contained in:
		
					parent
					
						
							
								adbb8a269e
							
						
					
				
			
			
				commit
				
					
						5738dc8e1b
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -45,7 +45,7 @@
 | 
				
			||||||
				<h2 class="vm-detail-title">{% trans "Billing" %} <img src="{% static 'hosting/img/billing.svg' %}" class="un-icon"></h2>
 | 
									<h2 class="vm-detail-title">{% trans "Billing" %} <img src="{% static 'hosting/img/billing.svg' %}" class="un-icon"></h2>
 | 
				
			||||||
				<div class="vm-vmid">
 | 
									<div class="vm-vmid">
 | 
				
			||||||
					<div class="vm-item-subtitle">{% trans "Current Pricing" %}</div>
 | 
										<div class="vm-item-subtitle">{% trans "Current Pricing" %}</div>
 | 
				
			||||||
					<div class="vm-item-lg">{{virtual_machine.price|floatformat|intcomma}} CHF/{% trans "Month" %}</div>
 | 
										<div class="vm-item-lg">{{order.price|floatformat|intcomma}} CHF/{% trans "Month" %}</div>
 | 
				
			||||||
					<a class="btn btn-vm-invoice" href="{% url 'hosting:orders' order.pk %}">{% trans "See Invoice" %}</a>
 | 
										<a class="btn btn-vm-invoice" href="{% url 'hosting:orders' order.pk %}">{% trans "See Invoice" %}</a>
 | 
				
			||||||
				</div>
 | 
									</div>
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue