Sha256: 5bf84b11edbc1611fb10a71ce897e83c29d93b9e11d701b5dee4fdf3d4a62061
Contents?: true
Size: 288 Bytes
Versions: 37
Compression:
Stored size: 288 Bytes
Contents
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
37 entries across 37 versions & 1 rubygems