Sha256: c7b9475b6e8d6a8e9efbc61d97e8584986e0bb6f75dcb1764637dda901d27e39

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::Orders::Show::Adjustments::Index::Adjustable::SpreeOrder::Component < SolidusAdmin::Orders::Show::Adjustments::Index::Adjustable::Component
  def caption
    "#{Spree::Order.model_name.human} ##{adjustable.number}"
  end

  def detail
    adjustable.display_total
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_order/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_order/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/orders/show/adjustments/index/adjustable/spree_order/component.rb