Class: SolidusAdmin::Orders::Show::Adjustments::Index::Adjustable::SpreeOrder::Component

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

Instance Method Summary collapse

Instance Method Details

#captionObject



4
5
6
# File 'app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_order/component.rb', line 4

def caption
  "#{Spree::Order.model_name.human} ##{adjustable.number}"
end

#detailObject



8
9
10
# File 'app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_order/component.rb', line 8

def detail
  adjustable.display_total
end