2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2017-10-09 17:46:39 +05:30
|
|
|
wb = xlsx_package.workbook
|
|
|
|
|
xlsx_package.use_autowidth = true
|
|
|
|
|
if @booth_export_option == 'confirmed'
|
|
|
|
|
render partial: 'confirmed_booths', locals: { wb: wb }
|
|
|
|
|
elsif @booth_export_option == 'all'
|
|
|
|
|
render partial: 'all_booths', locals: { wb: wb }
|
|
|
|
|
end
|