2018-03-25 17:20:54 +00:00
|
|
|
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
2018-03-25 17:30:42 +00:00
|
|
|
<table class='table'>
|
|
|
|
<thead>
|
|
|
|
<th colspan='2'>
|
|
|
|
Ticket<%= tickets.length == 1 ? '' : 's' %>
|
|
|
|
</th>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
<% tickets.each do |ticket| %>
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<strong>Ticket Level</strong>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<%= GetData.chain(ticket, :ticket_level, :name) != nil ? GetData.chain(ticket, :ticket_level, :name) : 'n/a' %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><strong>Quantity</strong></td>
|
|
|
|
<td> <%= ticket.quantity %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><strong>Name</strong></td>
|
|
|
|
<td> <%= GetData.chain(ticket, :supporter, :name) %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><strong>Email</strong></td>
|
|
|
|
<td><%= GetData.chain(ticket, :supporter, :email) %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><strong>Ticket ID</strong></td>
|
|
|
|
<td> <%= ticket.id %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><strong>Comment</strong></td>
|
|
|
|
<td> <%= GetData.chain(ticket, :donation, :comment) || 'None' %></td>
|
|
|
|
</tr>
|
|
|
|
<% if tickets.length != 1 %>
|
|
|
|
<tr colspan='2'><td><p></p></td></tr>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|