Class: SolidusAdmin::Orders::Show::Adjustments::Index::Source::SpreeTaxRate::Component
- Inherits:
-
Component
- Object
- Component
- SolidusAdmin::Orders::Show::Adjustments::Index::Source::SpreeTaxRate::Component
- Defined in:
- app/components/solidus_admin/orders/show/adjustments/index/source/spree_tax_rate/component.rb
Instance Method Summary collapse
Instance Method Details
#detail ⇒ Object
8 9 10 |
# File 'app/components/solidus_admin/orders/show/adjustments/index/source/spree_tax_rate/component.rb', line 8 def detail link_to("#{model_name}: #{zone_name}", spree.edit_admin_tax_rate_path(adjustment.source_id), class: "body-link") end |
#icon ⇒ Object
4 5 6 |
# File 'app/components/solidus_admin/orders/show/adjustments/index/source/spree_tax_rate/component.rb', line 4 def icon "percent-line" end |