Sha256: de5948d9dcf367220d3e9bbffcdd65186c91c9639f45de929193cf22cd373a30

Contents?: true

Size: 1.18 KB

Versions: 124

Compression:

Stored size: 1.18 KB

Contents

<thead>
  <tr data-hook="cart_adjustments_headers">
    <th class="cart-adjustment-header" colspan="6"><%= Spree.t(:order_adjustments) %></th>
  </tr>
</thead>
<tbody id="cart_adjustments" data-hook>
  <% if @order.line_item_adjustments.exists? %>
    <% @order.line_item_adjustments.promotion.eligible.group_by(&:label).each do |label, adjustments| %>
      <%= render "spree/orders/adjustment_row", label: label, adjustments: adjustments, type: Spree.t(:promotion) %>
    <% end %>
  <% end %>

  <% @order.all_adjustments.tax.eligible.group_by(&:label).each do |label, adjustments| %>
    <%= render "spree/orders/adjustment_row", label: label, adjustments: adjustments, type: Spree.t(:tax) %>
  <% end %>

  <% @order.shipments.each do |shipment| %>
    <tr>
      <td colspan="4" align='right'><h5><%= Spree.t(:shipping) %>: <%= shipment.shipping_method.name %></h5></td>
      <td colspan='2'>
        <h5><%= shipment.display_discounted_cost %></h5>
      </td>
    </tr>
  <% end %>

  <% @order.adjustments.eligible.group_by(&:label).each do |label, adjustments| %>
    <%= render "spree/orders/adjustment_row", label: label, adjustments: adjustments, type: Spree.t(:adjustment) %>
  <% end %>
</tbody>

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
spree_frontend-4.0.9 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.1.15 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.2.7 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.3.3 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.7.0 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.6.0 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.5.0 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.2.6 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.3.2 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.4.0 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.3.1 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.3.0 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.3.0.rc3 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.3.0.rc2 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.3.0.rc1 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.2.5 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.1.14 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.0.8 app/views/spree/orders/_adjustments.html.erb
spree_frontend-4.2.4 app/views/spree/orders/_adjustments.html.erb
spree_frontend-3.7.14.1 app/views/spree/orders/_adjustments.html.erb