Class: SalesGoalPeriodPickerTomSelectInput

Inherits:
TomSelectInput
  • Object
show all
Defined in:
app/inputs/sales_goal_period_picker_tom_select_input.rb

Overview

Sales Goal Period Picker Tom Select Input.

Instance Method Summary collapse

Methods inherited from TomSelectInput

#input, #input_html_classes

Instance Method Details

#collectionObject



4
5
6
# File 'app/inputs/sales_goal_period_picker_tom_select_input.rb', line 4

def collection
  SalesGoal.periods(options[:date])
end