Class: CustomGenerateReportController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- CustomGenerateReportController
show all
- Includes:
- PrawnReportController
- Defined in:
- app/controllers/custom_generate_report_controller.rb
Instance Method Summary
collapse
#get_pr_filters, #get_pr_report_class, #get_pr_report_data, #get_pr_report_params, #get_pr_serialization_params, #index
Instance Method Details
#get_pr_suggested_filename ⇒ Object
14
15
16
17
|
# File 'app/controllers/custom_generate_report_controller.rb', line 14
def get_pr_suggested_filename
@report_template = ReportTemplate.find(params["report_template_id"])
@report_template.report_class.underscore + '_' + Date.today.to_s + '.pdf'
end
|
#get_system_criteria ⇒ Object
10
11
12
|
# File 'app/controllers/custom_generate_report_controller.rb', line 10
def get_system_criteria
{}
end
|