Sha256: 699ea457c8f0171b19ae2ed6fbbcfffe356920ffa20ea0082497fae0415db5ec

Contents?: true

Size: 326 Bytes

Versions: 46

Compression:

Stored size: 326 Bytes

Contents

# frozen_string_literal: true

module Spree
  module Admin
    module ProductsHelper
      def frontend_product_path(product)
        Spree::Backend::Config[:frontend_product_path].call(self, product)
      end

      def show_rebuild_vat_checkbox?
        Spree::TaxRate.included_in_price.exists?
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
solidus_backend-4.4.1 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.4.0 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.3.4 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.2.4 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.1.5 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.3.3 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.3.2 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.1.4 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.3.1 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.3.0 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.2.3 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.1.3 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.0.4 app/helpers/spree/admin/products_helper.rb
solidus_backend-3.4.6 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.0.3 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.1.2 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.2.2 app/helpers/spree/admin/products_helper.rb
solidus_backend-3.4.5 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.2.1 app/helpers/spree/admin/products_helper.rb
solidus_backend-4.2.0 app/helpers/spree/admin/products_helper.rb