Sha256: 0d8d92b8d1b9ab053bba2a322bc5e044cb383eef65c679aabccfbd6d66566d54

Contents?: true

Size: 229 Bytes

Versions: 29

Compression:

Stored size: 229 Bytes

Contents

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

Version data entries

29 entries across 29 versions & 6 rubygems

Version Path
spree_core-0.70.7 app/helpers/admin/payments_helper.rb
spree_core-0.70.6 app/helpers/admin/payments_helper.rb
apispree_core-0.0.0 app/helpers/admin/payments_helper.rb
My-Commerce_core-1.1.0 app/helpers/admin/payments_helper.rb
My-Commerce_core-1.0.0 app/helpers/admin/payments_helper.rb
MyCommerceapi-1.0.0 core/app/helpers/admin/payments_helper.rb
MyCommerce-0.0.3 core/app/helpers/admin/payments_helper.rb
rfcommerce_core-0.0.3 app/helpers/admin/payments_helper.rb
spree_core-0.60.6 app/helpers/admin/payments_helper.rb
spree_core-0.70.5 app/helpers/admin/payments_helper.rb
spree_core-0.70.4 app/helpers/admin/payments_helper.rb
spree_core-0.60.5 app/helpers/admin/payments_helper.rb
spree_core-0.70.3 app/helpers/admin/payments_helper.rb
spree_core-0.70.2 app/helpers/admin/payments_helper.rb
spree_core-0.50.4 app/helpers/admin/payments_helper.rb
spree_core-0.60.4 app/helpers/admin/payments_helper.rb
spree_core-0.50.3 app/helpers/admin/payments_helper.rb
spree_core-0.60.3 app/helpers/admin/payments_helper.rb
spree_core-0.70.1 app/helpers/admin/payments_helper.rb
spree_core-0.70.0 app/helpers/admin/payments_helper.rb