Add (admin-only) tickets via 'visibile' attribute [migration]
(cherry picked from commit ce0db3d7a736e7bcde480721986dbfb4a82aa083)
This commit is contained in:
parent
6e276b2787
commit
199bc00c08
15 changed files with 73 additions and 9 deletions
|
|
@ -16,6 +16,7 @@
|
|||
%th Sold
|
||||
%th Turnover
|
||||
%th Registration Ticket
|
||||
%th Visible?
|
||||
%th Actions
|
||||
%tbody
|
||||
- @conference.tickets.each do |ticket|
|
||||
|
|
@ -31,6 +32,8 @@
|
|||
= humanized_money_with_symbol ticket.tickets_turnover_total(ticket.id)
|
||||
%td
|
||||
= ticket.registration_ticket? ? 'Yes' : 'No'
|
||||
%td
|
||||
= ticket.visible? ? 'Yes' : 'No'
|
||||
%td
|
||||
.btn-group
|
||||
= link_to 'Edit', edit_admin_conference_ticket_path(@conference.short_title, ticket.id),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue