Sha256: 19b443ee6dce59be66a305f1b1138a6aba6b5ffbbcdf9254c93cf7a933451f86

Contents?: true

Size: 588 Bytes

Versions: 4

Compression:

Stored size: 588 Bytes

Contents

class Admin::EffectiveEventRegistrationsDatatable < Effective::Datatable
  datatable do
    order :created_at

    col :token, visible: false

    col :created_at, label: 'Created', visible: false
    col :updated_at, label: 'Updated', visible: false

    col :submitted_at, label: 'Submitted', visible: false, as: :date

    col :event, search: :string
    col :owner

    col :event_registrants, search: :string
    col :event_addons, search: :string
    col :orders, label: 'Order'

    actions_col
  end

  collection do
    EffectiveEvents.EventRegistration.all.deep.done
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
effective_events-0.2.0 app/datatables/admin/effective_event_registrations_datatable.rb
effective_events-0.1.10 app/datatables/admin/effective_event_registrations_datatable.rb
effective_events-0.1.9 app/datatables/admin/effective_event_registrations_datatable.rb
effective_events-0.1.8 app/datatables/admin/effective_event_registrations_datatable.rb