2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2016-09-06 09:23:43 -04:00
|
|
|
wb = xlsx_package.workbook
|
|
|
|
|
if @event_export_option == 'confirmed'
|
|
|
|
|
render partial: 'confirmed_events', locals: {:wb => wb}
|
|
|
|
|
elsif @event_export_option == 'all'
|
|
|
|
|
render partial: 'all_events', locals: {:wb => wb}
|
|
|
|
|
elsif @event_export_option == 'all_with_comments'
|
|
|
|
|
render partial: 'all_with_comments', locals: {:wb => wb}
|
|
|
|
|
end
|