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