Export excel in Survey Report

This commit is contained in:
San Wai Lwin
2018-05-22 11:37:08 +06:30
parent cfc672dc31
commit 574f320dfd
4 changed files with 141 additions and 21 deletions

View File

@@ -22,6 +22,7 @@ class Transactions::SurveysController < ApplicationController
respond_to do |format|
format.html # index.html.erb
format.xls
format.json { render json: @surveys }
end
end