Sha256: f1b9b9f4dd25556d7cf80d9386aa004600762b8a5168bbd54e47d3adc7ee8091
Contents?: true
Size: 373 Bytes
Versions: 3
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true class SolidusLegacyPromotions::Orders::Index::Component < SolidusAdmin::Orders::Index::Component def filters super + [ { label: t('.filters.promotions'), combinator: 'or', attribute: "promotions_id", predicate: "in", options: Spree::Promotion.all.pluck(:name, :id), } ] end end
Version data entries
3 entries across 3 versions & 1 rubygems