mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Fix long line
This commit is contained in:
@@ -33,7 +33,8 @@ class CustomersWithBalance
|
||||
end
|
||||
|
||||
def complete_orders
|
||||
states = Spree::Order::PRIOR_TO_COMPLETION_STATES.map { |state| Arel::Nodes.build_quoted(state) }
|
||||
states = Spree::Order::PRIOR_TO_COMPLETION_STATES
|
||||
.map { |state| Arel::Nodes.build_quoted(state) }
|
||||
Arel::Nodes::NotIn.new(Spree::Order.arel_table[:state], states)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user