Sha256: 9b4206ccc48c4f3e43da9a7acf1ead5576477c80ff12b0c3f6a345017b2f1edc

Contents?: true

Size: 524 Bytes

Versions: 62

Compression:

Stored size: 524 Bytes

Contents

module Workarea
  class Admin::PaymentTransactionsController < Admin::ApplicationController
    required_permissions :orders
    after_action :track_index_filters, only: :index

    def index
      search = Search::AdminPaymentTransactions.new(
        params.merge(autocomplete: request.xhr?)
      )

      @search = Admin::SearchViewModel.new(search, view_model_options)
    end

    def show
      @transaction = Admin::TransactionViewModel.wrap(
        Payment::Transaction.find(params[:id])
      )
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.15 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.36 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.14 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.35 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.13 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.34 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.12 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.33 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.11 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.10 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.32 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.9 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.31 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.8 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.30 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.7 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.29 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.6 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.4.28 app/controllers/workarea/admin/payment_transactions_controller.rb
workarea-admin-3.5.5 app/controllers/workarea/admin/payment_transactions_controller.rb