mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 12:14:03 +00:00
Amount paid colum is added to ticket purchase to keep the record of money paid by the user. It is added to physical_ticket#index to show admin, price paid by each user for each ticket.
31 lines
904 B
Text
31 lines
904 B
Text
.container
|
|
.row
|
|
.col-md-12.page-header
|
|
%h2
|
|
Tickets Sold
|
|
.text-muted
|
|
Tickets sold for the conference
|
|
.row
|
|
.col-md-4
|
|
= render partial: 'admin/conferences/doughnut_chart',
|
|
locals: { title: 'Tickets sold', data: @tickets_sold_distribution }
|
|
.col-md-4
|
|
= render partial: 'admin/conferences/doughnut_chart',
|
|
locals: {title: 'Tickets turnover', data: @tickets_turnover_distribution}
|
|
%br
|
|
- if @physical_tickets.any?
|
|
.row
|
|
.col-md-12
|
|
%table.table.table-hover.datatable#tickets
|
|
%thead
|
|
%th ID
|
|
%th Type
|
|
%th User
|
|
%th Paid
|
|
%th Actions
|
|
%tbody
|
|
- @physical_tickets.each do |physical_ticket|
|
|
= render "physical_ticket", physical_ticket: physical_ticket,
|
|
conference: @conference
|
|
- else
|
|
%h5 No Tickets sold!
|