Sha256: 754399d5ab76648bb2660b00c558f60b7e2d244067cc0e4a40b0dbc417c6afbe

Contents?: true

Size: 297 Bytes

Versions: 120

Compression:

Stored size: 297 Bytes

Contents

module Spree
  module Admin
    module PaymentsHelper
      def payment_method_name(payment)
        # HACK: to allow us to retrieve the name of a "deleted" payment method
        id = payment.payment_method_id
        Spree::PaymentMethod.find_with_destroyed(id).name
      end
    end
  end
end

Version data entries

120 entries across 120 versions & 2 rubygems

Version Path
spree_backend-4.0.9 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.1.15 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.1.14 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.0.8 app/helpers/spree/admin/payments_helper.rb
spree_backend-3.7.14.1 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.1.13.1 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.0.7.1 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.0.7 app/helpers/spree/admin/payments_helper.rb
spree_backend-3.7.14 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.1.13 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.0.6 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.2.0.rc2 app/helpers/spree/admin/payments_helper.rb
spree_backend-3.7.13 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.0.5 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.1.12 app/helpers/spree/admin/payments_helper.rb
spree_backend-3.7.12 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.2.0.rc1 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.0.4 app/helpers/spree/admin/payments_helper.rb
spree_backend-3.7.11 app/helpers/spree/admin/payments_helper.rb
spree_backend-4.1.11 app/helpers/spree/admin/payments_helper.rb