Shows an email address.
This commit is contained in:
		
							parent
							
								
									2d469bb398
								
							
						
					
					
						commit
						7c5c155370
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -581,13 +581,14 @@ def attendee_data(request, form, user_id=None): | ||||||
|         AttendeeProfile._meta.get_field(field).verbose_name for field in fields |         AttendeeProfile._meta.get_field(field).verbose_name for field in fields | ||||||
|     ] |     ] | ||||||
| 
 | 
 | ||||||
|     headings = ["User ID", "Name", "Product", "Item Status"] + field_names |     headings = ["User ID", "Name", "Email", "Product", "Item Status"] + field_names | ||||||
|     data = [] |     data = [] | ||||||
|     for item in items: |     for item in items: | ||||||
|         profile = by_user[item.cart.user] |         profile = by_user[item.cart.user] | ||||||
|         line = [ |         line = [ | ||||||
|             item.cart.user.id, |             item.cart.user.id, | ||||||
|             getattr(profile, name_field), |             getattr(profile, name_field), | ||||||
|  |             profile.attendee.user.email, | ||||||
|             item.product, |             item.product, | ||||||
|             status_display[item.cart.status], |             status_display[item.cart.status], | ||||||
|         ] + [ |         ] + [ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Christopher Neugebauer
						Christopher Neugebauer