Class: SolidusAdmin::Orders::Show::Adjustments::Index::Source::SpreeTaxRate::Component

Inherits:
Component
  • Object
show all
Defined in:
app/components/solidus_admin/orders/show/adjustments/index/source/spree_tax_rate/component.rb

Instance Method Summary collapse

Instance Method Details

#detailObject



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

#iconObject



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