mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
admin/tickets: add column for quantity
This commit is contained in:
parent
54ad0628b4
commit
09ec8565d9
1 changed files with 3 additions and 2 deletions
|
|
@ -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.where(ticket_id: @ticket.id).sum('quantity')
|
||||
%td
|
||||
= 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