Class: EffectiveOrdersDatatable

Inherits:
Effective::Datatable
  • Object
show all
Defined in:
app/datatables/effective_orders_datatable.rb

Instance Method Summary collapse

Instance Method Details

#purchase_state_filter_valuesObject



80
81
82
83
84
85
86
87
# File 'app/datatables/effective_orders_datatable.rb', line 80

def purchase_state_filter_values
  [
    %w(abandoned nil),
    [EffectiveOrders::PURCHASED, EffectiveOrders::PURCHASED],
    [EffectiveOrders::DECLINED, EffectiveOrders::DECLINED],
    [EffectiveOrders::PENDING, EffectiveOrders::PENDING]
  ]
end