Class: Spina::Shop::StockLevelAdjustment
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Spina::Shop::StockLevelAdjustment
- Defined in:
- app/models/spina/shop/stock_level_adjustment.rb
Instance Method Summary collapse
Instance Method Details
#expiration_date ⇒ Object
12 13 14 |
# File 'app/models/spina/shop/stock_level_adjustment.rb', line 12 def expiration_date "#{expiration_month || '–'}/#{expiration_year.to_s.last(2).presence || '–'}" end |