categorise purchased tickets by payment mode for attendees
This commit is contained in:
parent
2df944176e
commit
45154a8703
2 changed files with 36 additions and 16 deletions
|
|
@ -16,6 +16,7 @@ class TicketPurchase < ActiveRecord::Base
|
|||
delegate :price, to: :ticket
|
||||
delegate :price_cents, to: :ticket
|
||||
delegate :price_currency, to: :ticket
|
||||
delegate :payment_mode, to: :ticket
|
||||
|
||||
def self.purchase(conference, user, purchases)
|
||||
errors = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue