Sha256: 5ceac1d7188b110b21d413de85bd9b46bf0306e4d28f8175a484ebaa17b6d3e9

Contents?: true

Size: 309 Bytes

Versions: 9

Compression:

Stored size: 309 Bytes

Contents

Deface::Override.new(
    virtual_path: 'spree/admin/orders/_line_items',
    name: 'vendorize_line_items',
    replace: "erb[silent]:contains('order.line_items.each do |item|')",
    text: "<% (current_spree_vendor ? order.line_items.for_vendor(current_spree_vendor) : order.line_items).each do |item| %>"
)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_multi_vendor-2.5.0 app/overrides/spree/admin/orders/_line_items.rb
spree_multi_vendor-2.4.1 app/overrides/spree/admin/orders/_line_items.rb
atkhayar-dev-spree-multi-vendor-0.0.0 app/overrides/spree/admin/orders/_line_items.rb
spree_multi_vendor-2.4.0 app/overrides/spree/admin/orders/_line_items.rb
spree_multi_vendor-2.3.0 app/overrides/spree/admin/orders/_line_items.rb
spree_multi_vendor-2.2.0 app/overrides/spree/admin/orders/_line_items.rb
spree_multi_vendor-2.1.0 app/overrides/spree/admin/orders/_line_items.rb
spree_multi_vendor-2.0.2 app/overrides/spree/admin/orders/_line_items.rb
spree_multi_vendor-2.0.1 app/overrides/spree/admin/orders/_line_items.rb