Sha256: a67ae4fbfcc3d7604eeeda4221f3cd0581ab5a5405a68815bdd403afd49e9d8c
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module SolidusProductAssembly module Spree module Admin module OrdersHelperDecorator def self.prepended(base) base.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 ::Spree::Admin::OrdersHelper.prepend self end end end end
Version data entries
4 entries across 4 versions & 1 rubygems