diff --git a/app/services/shop/order_cycles_list.rb b/app/services/shop/order_cycles_list.rb index e51d3aed5f..af4b9cc63f 100644 --- a/app/services/shop/order_cycles_list.rb +++ b/app/services/shop/order_cycles_list.rb @@ -8,7 +8,7 @@ module Shop end def self.ready_for_checkout_for(distributor, customer) - return OrderCycle.none if !distributor.ready_for_checkout? + return OrderCycle.none unless distributor.ready_for_checkout? new(distributor, customer).call end