add payment mode field to tickets for attendees
This commit is contained in:
parent
301ad1c722
commit
2df944176e
2 changed files with 5 additions and 1 deletions
|
|
@ -7,6 +7,8 @@
|
|||
%h5.media-heading
|
||||
-if !ticket.description.blank?
|
||||
= markdown(ticket.description)
|
||||
%td.col-sm-q.col-md-1
|
||||
= ticket.payment_mode
|
||||
%td.col-sm-1.col-md-1
|
||||
- if ticket.bought?(current_user)
|
||||
= text_field_tag("tickets[][#{ticket.id}]", ticket.quantity_bought_by(current_user),
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
%thead
|
||||
%tr
|
||||
%th Ticket
|
||||
%th Payment
|
||||
%th Quantity
|
||||
%th Price
|
||||
%th Total
|
||||
|
|
@ -21,6 +22,7 @@
|
|||
- @conference.tickets.each do |ticket|
|
||||
= render partial: 'ticket', f: f, locals: {ticket: ticket}
|
||||
%tr
|
||||
%td
|
||||
%td
|
||||
%td
|
||||
%td.col-sm-1.col-md-1.text-center
|
||||
|
|
@ -43,4 +45,4 @@
|
|||
.col-md-13
|
||||
%p.text-muted.text-center
|
||||
%small
|
||||
* Buying a ticket is not mandatory. Checkout will be at the conference registration.
|
||||
* Buying a ticket is not mandatory. Checkout will be at the conference registration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue