Fix long line

This commit is contained in:
Pau Perez
2021-01-19 13:26:32 +01:00
parent 9bb49bb590
commit 996761da67

View File

@@ -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