added events, confirmed events and events with comments export features with xlsx, pdf and csv format
This commit is contained in:
parent
3da3fcccbb
commit
68d447f023
14 changed files with 245 additions and 67 deletions
8
app/views/admin/events/events.xlsx.axlsx
Normal file
8
app/views/admin/events/events.xlsx.axlsx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue