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
|
%h5.media-heading
|
||||||
-if !ticket.description.blank?
|
-if !ticket.description.blank?
|
||||||
= markdown(ticket.description)
|
= markdown(ticket.description)
|
||||||
|
%td.col-sm-q.col-md-1
|
||||||
|
= ticket.payment_mode
|
||||||
%td.col-sm-1.col-md-1
|
%td.col-sm-1.col-md-1
|
||||||
- if ticket.bought?(current_user)
|
- if ticket.bought?(current_user)
|
||||||
= text_field_tag("tickets[][#{ticket.id}]", ticket.quantity_bought_by(current_user),
|
= text_field_tag("tickets[][#{ticket.id}]", ticket.quantity_bought_by(current_user),
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
%thead
|
%thead
|
||||||
%tr
|
%tr
|
||||||
%th Ticket
|
%th Ticket
|
||||||
|
%th Payment
|
||||||
%th Quantity
|
%th Quantity
|
||||||
%th Price
|
%th Price
|
||||||
%th Total
|
%th Total
|
||||||
|
|
@ -21,6 +22,7 @@
|
||||||
- @conference.tickets.each do |ticket|
|
- @conference.tickets.each do |ticket|
|
||||||
= render partial: 'ticket', f: f, locals: {ticket: ticket}
|
= render partial: 'ticket', f: f, locals: {ticket: ticket}
|
||||||
%tr
|
%tr
|
||||||
|
%td
|
||||||
%td
|
%td
|
||||||
%td
|
%td
|
||||||
%td.col-sm-1.col-md-1.text-center
|
%td.col-sm-1.col-md-1.text-center
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue