Sha256: 292e430d094b05874af7bbd8c643e5718003f88d68d6cd16257c9fd265cc48e7

Contents?: true

Size: 1.05 KB

Versions: 92

Compression:

Stored size: 1.05 KB

Contents

<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

92 entries across 92 versions & 2 rubygems

Version Path
solidus_frontend-2.1.1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.0.3 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.4.2 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.2.3 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.3.2 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.1.4 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.0.7 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.0.2 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.4.1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.1.0 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.1.0.rc1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.0.1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.1.0.beta1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.0.0 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.4.0 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.0.0.rc1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.4.0.rc1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-2.0.0.beta1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.4.0.beta1 app/views/spree/orders/_adjustments.html.erb
solidus_frontend-1.3.1 app/views/spree/orders/_adjustments.html.erb