Sha256: 7030069b62192cdb5eb22ec6a949a11a4f34e4077dc40436de53fe6e1f8493f8
Contents?: true
Size: 319 Bytes
Versions: 85
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true module Spree module Admin module StockLocationsHelper def admin_stock_location_display_name(stock_location) name_parts = [stock_location.admin_name, stock_location.name] name_parts.delete_if(&:blank?) name_parts.join(' / ') end end end end
Version data entries
85 entries across 85 versions & 2 rubygems