added events, confirmed events and events with comments export features with xlsx, pdf and csv format

This commit is contained in:
AnithaPal 2016-09-06 09:23:43 -04:00
parent 3da3fcccbb
commit 68d447f023
14 changed files with 245 additions and 67 deletions

View 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