Class: Crm::OppFunnelWidgetComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Crm::OppFunnelWidgetComponent
- Includes:
- DashboardQueryLink
- Defined in:
- app/components/crm/opp_funnel_widget_component.rb
Constant Summary collapse
- OBSERVED_STATES =
%w[qualify quoting follow_up promised promised_due won lost].freeze
Instance Method Summary collapse
-
#initialize(employee: nil) ⇒ OppFunnelWidgetComponent
constructor
A new instance of OppFunnelWidgetComponent.
Methods inherited from ApplicationComponent
#cms_link, #fetch_or_fallback, #image_asset_tag, #image_tag, #number_to_currency, #number_with_delimiter, #post_path, #post_url, #strip_tags
Constructor Details
#initialize(employee: nil) ⇒ OppFunnelWidgetComponent
Returns a new instance of OppFunnelWidgetComponent.
8 9 10 11 |
# File 'app/components/crm/opp_funnel_widget_component.rb', line 8 def initialize(employee: nil) super() @employee = employee end |