Sha256: 4b6a302129ec1687c13b2500950abd88fc47c4d0471d554655d623f0fefba726

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

module Spree
  module Admin
    OrdersHelper.module_eval do
      def line_item_shipment_price(line_item, quantity)
        Spree::Money.new(line_item.price * quantity, { currency: line_item.currency })
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_product_bundle-1.0.1 app/helpers/spree/admin/orders_helper_decorator.rb
solidus_product_bundle-1.0.0 app/helpers/spree/admin/orders_helper_decorator.rb
solidus_product_assembly-1.0.0 app/helpers/spree/admin/orders_helper_decorator.rb