Change interval to year for that case in order confirmation
This commit is contained in:
		
					parent
					
						
							
								e493a9f3d1
							
						
					
				
			
			
				commit
				
					
						435cfa46a6
					
				
			
		
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -154,7 +154,11 @@ | |||
|                 <div class="col-sm-8"> | ||||
|                     {% if generic_payment_details %} | ||||
|                         {% if generic_payment_details.recurring %} | ||||
|                             <div class="dcl-place-order-text">{% blocktrans with total_price=generic_payment_details.amount|floatformat:2|intcomma %}By clicking "Place order" this plan will charge your credit card account with {{total_price}} CHF/month{% endblocktrans %}.</div> | ||||
|                             {% if generic_payment_details.recurring_interval == 'year' %} | ||||
|                                 <div class="dcl-place-order-text">{% blocktrans with total_price=generic_payment_details.amount|floatformat:2|intcomma %}By clicking "Place order" this plan will charge your credit card account with {{total_price}} CHF/year{% endblocktrans %}.</div> | ||||
|                             {% else %} | ||||
|                                 <div class="dcl-place-order-text">{% blocktrans with total_price=generic_payment_details.amount|floatformat:2|intcomma %}By clicking "Place order" this plan will charge your credit card account with {{total_price}} CHF/month{% endblocktrans %}.</div> | ||||
|                             {% endif %} | ||||
|                         {% else %} | ||||
|                             <div class="dcl-place-order-text">{% blocktrans with total_price=generic_payment_details.amount|floatformat:2|intcomma %}By clicking "Place order" this payment will charge your credit card account with a one time amount of {{total_price}} CHF{% endblocktrans %}.</div> | ||||
|                         {% endif %} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue