Class: Crm::Reports::LeadReportController
- Inherits:
-
CrmController
- Object
- CrmController
- Crm::Reports::LeadReportController
- Includes:
- Controllers::ReportCommandFlashable
- Defined in:
- app/controllers/crm/reports/lead_report_controller.rb
Instance Method Summary collapse
- #show ⇒ Object
- #tab_calls_in_out ⇒ Object
- #tab_communications ⇒ Object
- #tab_customers_created ⇒ Object
- #tab_opportunities ⇒ Object
- #tab_orders ⇒ Object
- #tab_rooms_created ⇒ Object
- #tab_services ⇒ Object
- #tab_sms ⇒ Object
- #tab_website_visits ⇒ Object
Instance Method Details
#show ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 6 def show :read, LedgerCompanyAccount @report_command = ::Report::LeadReport::LeadReportCommand.new(lead_report_command_params) flash_report_command_errors respond_to do |format| format.html format.turbo_stream end end |
#tab_calls_in_out ⇒ Object
41 42 43 44 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 41 def tab_calls_in_out initialize_command_params render "tab_calls_in_out", layout: should_render_layout? end |
#tab_communications ⇒ Object
46 47 48 49 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 46 def tab_communications initialize_command_params render "tab_communications", layout: should_render_layout? end |
#tab_customers_created ⇒ Object
16 17 18 19 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 16 def tab_customers_created initialize_command_params render "tab_customers_created", layout: should_render_layout? end |
#tab_opportunities ⇒ Object
21 22 23 24 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 21 def tab_opportunities initialize_command_params render "tab_opportunities", layout: should_render_layout? end |
#tab_orders ⇒ Object
26 27 28 29 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 26 def tab_orders initialize_command_params render "tab_orders", layout: should_render_layout? end |
#tab_rooms_created ⇒ Object
36 37 38 39 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 36 def tab_rooms_created initialize_command_params render "tab_rooms_created", layout: should_render_layout? end |
#tab_services ⇒ Object
31 32 33 34 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 31 def tab_services initialize_command_params render "tab_services", layout: should_render_layout? end |
#tab_sms ⇒ Object
51 52 53 54 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 51 def tab_sms initialize_command_params render "tab_sms", layout: should_render_layout? end |
#tab_website_visits ⇒ Object
56 57 58 59 |
# File 'app/controllers/crm/reports/lead_report_controller.rb', line 56 def tab_website_visits initialize_command_params render "tab_website_visits", layout: should_render_layout? end |