Class: Crm::Reports::GrossSalesReportController
- Inherits:
-
CrmController
- Object
- CrmController
- Crm::Reports::GrossSalesReportController
- Includes:
- Controllers::ReportCommandFlashable
- Defined in:
- app/controllers/crm/reports/gross_sales_report_controller.rb
Overview
Controller: gross sales report.
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'app/controllers/crm/reports/gross_sales_report_controller.rb', line 8 def show @report_command = ::Report::GrossSalesReport::GrossSalesReportCommand.new(gross_sales_report_command_params) @result = @report_command.execute flash_report_command_errors respond_to do |format| format.html format.turbo_stream end end |