admin/tickets: correct ticket_purchase quantity
This commit is contained in:
parent
c6be0999b9
commit
54ad0628b4
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
%td
|
||||
= buyer.name
|
||||
%span.label.label-success
|
||||
= buyer.ticket_purchases.find_by(ticket_id: @ticket.id).quantity
|
||||
= buyer.ticket_purchases.where(ticket_id: @ticket.id).sum('quantity')
|
||||
%td
|
||||
= buyer.email
|
||||
%td
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue