mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +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.
16 lines
634 B
Text
16 lines
634 B
Text
%tr
|
|
%td= physical_ticket.id
|
|
%td= physical_ticket.ticket.title
|
|
%td= physical_ticket.user.email
|
|
%td= humanized_money_with_symbol physical_ticket.ticket_purchase.amount_paid
|
|
%td
|
|
.btn-group
|
|
= link_to 'Show',
|
|
conference_physical_ticket_path(conference.short_title,
|
|
physical_ticket.token),
|
|
class: 'btn btn-primary'
|
|
= link_to 'Generate PDF',
|
|
conference_physical_ticket_path(conference.short_title,
|
|
physical_ticket.token,
|
|
format: :pdf),
|
|
class: 'button btn btn-default btn-info'
|