mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-03 02:21:33 +00:00
Make packer use BasicSplitter by default
This commit is contained in:
@@ -5,7 +5,7 @@ module Spree
|
||||
class Packer
|
||||
attr_reader :stock_location, :order, :splitters, :package_factory
|
||||
|
||||
def initialize(stock_location, order, splitters = [Splitter::Base])
|
||||
def initialize(stock_location, order, splitters = [OrderManagement::Stock::BasicSplitter])
|
||||
@stock_location = stock_location
|
||||
@order = order
|
||||
@splitters = splitters
|
||||
|
||||
Reference in New Issue
Block a user