app/models/imports/events_import.rb in artfully_ose-1.3.0.pre3 vs app/models/imports/events_import.rb in artfully_ose-1.3.0.pre4
- old
+ new
@@ -160,10 +160,10 @@
Rails.logger.info("Processing Import [#{id}] EVENT_IMPORT: Section is [#{section.inspect}]")
ticket_type = section.ticket_types.where(:price => amount).first
raise Import::RuntimeError, 'No section found for ticket' unless section
- ticket = Ticket.build_one(show, section,1, true)
+ ticket = Ticket.build_one(show, section, true)
ticket.ticket_type = ticket_type
Rails.logger.info("Processing Import [#{id}] EVENT_IMPORT: Ticket built [#{ticket.inspect}]")
ticket.sell_to person
Rails.logger.info("Processing Import [#{id}] EVENT_IMPORT: Ticket sold to [#{person.inspect}]")
ticket.sold_price = amount
\ No newline at end of file