Class: Spree::Admin::PayoutsController
- Inherits:
-
ResourceController
- Object
- ResourceController
- Spree::Admin::PayoutsController
- Defined in:
- app/controllers/spree/admin/payouts_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
8 9 10 11 12 13 |
# File 'app/controllers/spree/admin/payouts_controller.rb', line 8 def index @payouts = parent.payouts .order(:created_at) .where(state: params[:state] || 'confirmed') .includes(:payoutable, :payout_profile, payment: :order) end |