mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-05 22:26:07 +00:00
Update app/services/order_available_payment_methods.rb
Co-authored-by: jibees <jb.bellet@gmail.com>
This commit is contained in:
committed by
GitHub
parent
e20e519201
commit
9fbdb311b0
@@ -36,7 +36,8 @@ class OrderAvailablePaymentMethods
|
||||
end
|
||||
|
||||
def available_distributor_payment_methods_ids
|
||||
order_cycle.distributor_payment_methods.where(distributor_id: distributor.id)
|
||||
order_cycle.distributor_payment_methods
|
||||
.where(distributor_id: distributor.id)
|
||||
.select(:payment_method_id)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user