diff --git a/app/views/admin/tickets/show.html.haml b/app/views/admin/tickets/show.html.haml index a672ff2c..9f86a4a7 100644 --- a/app/views/admin/tickets/show.html.haml +++ b/app/views/admin/tickets/show.html.haml @@ -15,6 +15,7 @@ %thead %th # %th Name + %th Quantity %th E-Mail %th Affiliation %th Paid @@ -25,8 +26,8 @@ = index + 1 %td = buyer.name - %span.label.label-success - = buyer.ticket_purchases.find_by(ticket_id: @ticket.id).quantity + %td + = buyer.ticket_purchases.where(ticket_id: @ticket.id).sum('quantity') %td = buyer.email %td