Class: Crm::Reports::SalesProfitController
- Inherits:
-
CrmController
- Object
- CrmController
- Crm::Reports::SalesProfitController
- Includes:
- Controllers::ReportCommandFlashable
- Defined in:
- app/controllers/crm/reports/sales_profit_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/crm/reports/sales_profit_controller.rb', line 6 def show @report_command = ::Report::SalesProfit::SalesProfitCommand.new(sales_profit_command_params) @result = @report_command.execute flash_report_command_errors respond_to do |format| format.html format.turbo_stream end end |