Class: InvoiceTypePickerTomSelectInput

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

Overview

Invoice Type 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/invoice_type_picker_tom_select_input.rb', line 4

def collection
  Invoice::INVOICE_TYPES.map { |t| [t, t] }
end