Show terminated in invoice for VM that has been terminated
This commit is contained in:
		
					parent
					
						
							
								7fcece40c1
							
						
					
				
			
			
				commit
				
					
						46d82268f4
					
				
			
		
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -42,7 +42,9 @@
 | 
			
		|||
                <p>
 | 
			
		||||
                    <strong>{% trans "Status" %}: </strong>
 | 
			
		||||
                    <strong>
 | 
			
		||||
                        {% if order.status == 'Approved' %}
 | 
			
		||||
                        {% if vm.terminated_at %}
 | 
			
		||||
                            <span class="vm-color-failed">{% trans "Terminated" %}</span>
 | 
			
		||||
                        {% elif order.status == 'Approved' %}
 | 
			
		||||
                            <span class="vm-color-online">{% trans "Approved" %}</span>
 | 
			
		||||
                        {% else %}
 | 
			
		||||
                            <span class="vm-status-failed">{% trans "Declined" %}</span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue