Class: SolidusLegacyPromotions::Orders::Index::Component
- Inherits:
-
SolidusAdmin::Orders::Index::Component
- Object
- SolidusAdmin::Orders::Index::Component
- SolidusLegacyPromotions::Orders::Index::Component
- Defined in:
- lib/components/admin/solidus_legacy_promotions/orders/index/component.rb
Instance Method Summary collapse
Instance Method Details
#filters ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/components/admin/solidus_legacy_promotions/orders/index/component.rb', line 4 def filters super + [ { label: t('.filters.promotions'), combinator: 'or', attribute: "promotions_id", predicate: "in", options: Spree::Promotion.all.pluck(:name, :id), } ] end |