Class: SolidusAdmin::Orders::Show::Adjustments::Index::Adjustable::SpreeShipment::Component
- Inherits:
-
Component
- Object
- Component
- SolidusAdmin::Orders::Show::Adjustments::Index::Adjustable::SpreeShipment::Component
- Defined in:
- app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_shipment/component.rb
Instance Method Summary collapse
Instance Method Details
#caption ⇒ Object
4 5 6 |
# File 'app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_shipment/component.rb', line 4 def "#{t('spree.shipment')} ##{adjustable.number}" end |
#detail ⇒ Object
8 9 10 11 12 13 14 |
# File 'app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_shipment/component.rb', line 8 def detail link_to( adjustable.shipping_method.name, spree.edit_admin_shipping_method_path(adjustable.shipping_method), class: "body-link" ) end |