Class: Crm::Reports::PresenceController
- Inherits:
-
CrmController
- Object
- CrmController
- Crm::Reports::PresenceController
- Includes:
- Controllers::ReportCommandFlashable
- Defined in:
- app/controllers/crm/reports/presence_controller.rb
Overview
Controller: presence.
Instance Method Summary collapse
-
#show ⇒ Object
Runs the employee presence report command.
Instance Method Details
#show ⇒ Object
Runs the employee presence report command.
7 8 9 10 11 12 13 14 15 16 |
# File 'app/controllers/crm/reports/presence_controller.rb', line 7 def show :read, EmployeePhoneStatus @report_command = ::Report::PresenceReport::PresenceCommand.new(presence_command_params) @report_command.execute flash_report_command_errors respond_to do |format| format.html format.turbo_stream end end |