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