Show attendees shirts in overview
So schwag can be given out
This commit is contained in:
		
							parent
							
								
									7370fc6012
								
							
						
					
					
						commit
						98465934ff
					
				
					 1 changed files with 13 additions and 0 deletions
				
			
		|  | @ -12,6 +12,7 @@ | ||||||
|     {% items_purchased as purchased %} |     {% items_purchased as purchased %} | ||||||
|     {% items_pending as pending %} |     {% items_pending as pending %} | ||||||
|     {% items_purchased 1 as ticket %} |     {% items_purchased 1 as ticket %} | ||||||
|  |     {% items_purchased 6 as shirts %} | ||||||
|     {% total_items_purchased 3 as penguin_dinner_count %} |     {% total_items_purchased 3 as penguin_dinner_count %} | ||||||
|     {% total_items_purchased 4 as speakers_dinner_count %} |     {% total_items_purchased 4 as speakers_dinner_count %} | ||||||
|     {% total_items_purchased 5 as pdns_count %} |     {% total_items_purchased 5 as pdns_count %} | ||||||
|  | @ -31,6 +32,18 @@ | ||||||
|                 <dt>PDNS Tickets</dt><dd>{{ pdns_count }}</dd> |                 <dt>PDNS Tickets</dt><dd>{{ pdns_count }}</dd> | ||||||
|                 <dt>Over 18 years</dt><dd>{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}yes{% else %}<strong class="red">NO</strong>{% endif %}</dd> |                 <dt>Over 18 years</dt><dd>{% if user.attendee.attendeeprofilebase.attendeeprofile.of_legal_age %}yes{% else %}<strong class="red">NO</strong>{% endif %}</dd> | ||||||
|             </dl> |             </dl> | ||||||
|  |             <table class="table table-striped"> | ||||||
|  |                 <tr> | ||||||
|  |                     <th>item</th> | ||||||
|  |                     <th>count</th> | ||||||
|  |                 </tr> | ||||||
|  |                 {% for shirt in shirts%} | ||||||
|  |                     <tr> | ||||||
|  |                         <td>{{ shirt.product }}</td> | ||||||
|  |                         <td>{{ shirt.quantity }}</td> | ||||||
|  |                     </tr> | ||||||
|  |                 {% endfor %} | ||||||
|  |             </table> | ||||||
|         </div> |         </div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Sachi King
						Sachi King