mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
* Consistent route/model/controller/view layout * Get rid of unused photos, speakers, dietchoices, social_events controllers * Drop unused :public from Rooms and :description from CallForPapers
35 lines
812 B
Text
35 lines
812 B
Text
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1
|
|
= @ticket.title
|
|
Ticket
|
|
%small
|
|
= humanized_money_with_symbol @ticket.price
|
|
%p.text-muted
|
|
People who bought this ticket
|
|
.row
|
|
.col-md-12
|
|
%table.table.table-hover.datatable
|
|
%thead
|
|
%th #
|
|
%th Name
|
|
%th E-Mail
|
|
%th Affiliation
|
|
%th Paid
|
|
%tbody
|
|
- @ticket.buyers.each_with_index do |buyer, index|
|
|
%tr
|
|
%td
|
|
= index + 1
|
|
%td
|
|
= buyer.name
|
|
%span.label.label-success
|
|
= buyer.ticket_purchases.find_by(ticket_id: @ticket.id).quantity
|
|
%td
|
|
= buyer.email
|
|
%td
|
|
= buyer.affiliation
|
|
%td
|
|
= @ticket.paid?(buyer)
|
|
|