Sha256: 829728147a552a295d1bc409b510639f9b43deba8d0134e3a27f1d51a026a379

Contents?: true

Size: 265 Bytes

Versions: 46

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

module Spree
  module Admin
    module StockLocationsHelper
      def admin_stock_location_display_name(stock_location)
        [stock_location.admin_name, stock_location.name].reject(&:blank?).join(' / ')
      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/stock_locations_helper.rb
solidus_backend-4.4.0 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.3.4 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.2.4 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.1.5 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.3.3 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.3.2 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.1.4 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.3.1 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.3.0 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.2.3 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.1.3 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.0.4 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-3.4.6 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.0.3 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.1.2 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.2.2 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-3.4.5 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.2.1 app/helpers/spree/admin/stock_locations_helper.rb
solidus_backend-4.2.0 app/helpers/spree/admin/stock_locations_helper.rb