Class: SolidusAdmin::Orders::Show::Adjustments::Index::Adjustable::SpreeLineItem::Component
- Inherits:
-
Component
- Object
- Component
- SolidusAdmin::Orders::Show::Adjustments::Index::Adjustable::SpreeLineItem::Component
- Defined in:
- app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_line_item/component.rb
Instance Method Summary collapse
Instance Method Details
#caption ⇒ Object
6 7 8 9 |
# File 'app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_line_item/component.rb', line 6 def = variant..presence || variant.sku end |
#detail ⇒ Object
11 12 13 |
# File 'app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_line_item/component.rb', line 11 def detail link_to(variant.product.name, solidus_admin.product_path(variant.product), class: "body-link") end |