Sha256: 426644e028ad039bfe5773a1b4ce0da31a645cf2952d631425e96b0d917e801b
Contents?: true
Size: 790 Bytes
Versions: 9
Compression:
Stored size: 790 Bytes
Contents
Deface::Override.new( virtual_path: 'spree/admin/orders/_form', name: 'vendorize_shipments', replace: "erb[loud]:contains('render partial: \"spree/admin/orders/shipment\", collection: @order.shipments.order(:created_at), locals: {order: order}')", text: "<%= render partial: \"spree/admin/orders/shipment\", collection: (current_spree_vendor ? @order.shipments.for_vendor(current_spree_vendor).order(:created_at) : @order.shipments.order(:created_at)), locals: {order: order} %>" ) Deface::Override.new( virtual_path: 'spree/admin/orders/_form', name: 'display_vendor_total', replace: "erb[loud]:contains('order.display_total')", text: "<%= current_spree_vendor ? order.display_vendor_total(current_spree_vendor).to_html : order.display_total.to_html %>" )
Version data entries
9 entries across 9 versions & 2 rubygems