Sha256: 28f33b6707c362797def471e5e82113d15a72b5812dc0b9ade08a50aa7c9ca86
Contents?: true
Size: 763 Bytes
Versions: 1
Compression:
Stored size: 763 Bytes
Contents
module Admin class EffectiveRingsDatatable < Effective::Datatable filters do scope :ready_to_issue scope :issued scope :all end datatable do order :updated_at col :updated_at, visible: false col :created_at, visible: false col :id, visible: false col :created_at, as: :date col :owner, search: :string col :first_name col :last_name col :email col :phone col :member_number, label: 'Member #' do |ring| ring.owner.try(:membership).try(:number) end col :shipping_address, label: 'Address' col :size col :metal col :issued_at actions_col end collection do Effective::Ring.deep.all end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
effective_products-0.0.2 | app/datatables/admin/effective_rings_datatable.rb |