Sha256: 4e97bc23657844ffc9b973df0fa7c22045c437f740dc26eaaa95c2520d9fc30c

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

<%
  type = local_assigns.fetch(:type, t('spree.adjustment'))
  label = local_assigns.fetch(:label, '')

  adjustments_sum = adjustments.sum(&:amount)
%>

<% if adjustments_sum != 0 %>
  <%= render(
    "spree/components/cart/cart_amount_row",
    type: t('spree.tax'),
    label: label,
    amount: Spree::Money.new(adjustments_sum, currency: @order.currency)
  ) %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/components/cart/_cart_adjustment.html.erb