Class: SolidusPromotions::Orders::Index::Component
- Inherits:
-
SolidusAdmin::Orders::Index::Component
- Object
- SolidusAdmin::Orders::Index::Component
- SolidusPromotions::Orders::Index::Component
- Defined in:
- lib/components/admin/solidus_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_promotions/orders/index/component.rb', line 4 def filters super + [ { label: t(".filters.promotions"), combinator: "or", attribute: "solidus_promotions_id", predicate: "in", options: SolidusPromotions::Promotion.all.pluck(:name, :id) } ] end |