commit
				
					
						f310c20771
					
				
			
		
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -35,7 +35,7 @@
 | 
			
		|||
                            <address>
 | 
			
		||||
                            <h3><b>{% trans "Billed To:"%}</b></h3>
 | 
			
		||||
                            {% with request.session.billing_address_data as billing_address %}
 | 
			
		||||
                                {{request.session.user.name}}<br> {{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'postal_code'}}<br>
 | 
			
		||||
                                {{billing_address|get_value_from_dict:'cardholder_name'}}<br> {{billing_address|get_value_from_dict:'street_address'}}, {{billing_address|get_value_from_dict:'postal_code'}}<br>
 | 
			
		||||
                                {{billing_address|get_value_from_dict:'city'}}, {{billing_address|get_value_from_dict:'country'}}.
 | 
			
		||||
                            {% endwith %}
 | 
			
		||||
                            </address>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -343,6 +343,7 @@ class PaymentOrderView(FormView):
 | 
			
		|||
        if billing_address_data:
 | 
			
		||||
            form_kwargs.update({
 | 
			
		||||
                'initial': {
 | 
			
		||||
                    'cardholder_name': billing_address_data['cardholder_name'],
 | 
			
		||||
                    'street_address': billing_address_data['street_address'],
 | 
			
		||||
                    'city': billing_address_data['city'],
 | 
			
		||||
                    'postal_code': billing_address_data['postal_code'],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue