Show product name in dcl order detail template
This commit is contained in:
		
					parent
					
						
							
								4575ff60ec
							
						
					
				
			
			
				commit
				
					
						41cba9daa3
					
				
			
		
					 1 changed files with 10 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -48,16 +48,22 @@
 | 
			
		|||
            <div>
 | 
			
		||||
                <h4>{% trans "Order summary" %}</h4>
 | 
			
		||||
                    {% if generic_payment_details %}
 | 
			
		||||
                        <p>
 | 
			
		||||
                            <strong>{% trans "Product" %}:</strong> 
 | 
			
		||||
                            {{ generic_payment_details.product_name }}
 | 
			
		||||
                        </p>
 | 
			
		||||
                        <div class="row">
 | 
			
		||||
                            <div class="col-sm-6">
 | 
			
		||||
                                <p>
 | 
			
		||||
                                    <span>{% trans "Amount" %}: </span>
 | 
			
		||||
                                    <strong class="pull-right">CHF {{generic_payment_details.amount|floatformat:2|intcomma}}</strong>
 | 
			
		||||
                                </p>
 | 
			
		||||
                                {% if generic_payment_details.description %}
 | 
			
		||||
                                    <p>
 | 
			
		||||
                                        <span>{% trans "Description" %}: </span>
 | 
			
		||||
                                        <strong class="pull-right">{{generic_payment_details.description}}</strong>
 | 
			
		||||
                                    </p>
 | 
			
		||||
                                {% endif %}
 | 
			
		||||
                                {% if generic_payment_details.recurring %}
 | 
			
		||||
                                    <p>
 | 
			
		||||
                                        <span>{% trans "Recurring" %}: </span>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue