Sha256: 5070ad31359ac0564ff73646fd12cdf1be855077175f70a360ab5cb15b8add03

Contents?: true

Size: 1.36 KB

Versions: 63

Compression:

Stored size: 1.36 KB

Contents

<%= render :partial => 'spree/shared/error_messages', :locals => { :target => @order } %>
<table id="cart-detail" data-hook>
  <thead>
    <tr data-hook="cart_items_headers">
      <th class="cart-item-description-header" colspan="2"><%= Spree.t(:item) %></th>
      <th class="cart-item-price-header"><%= Spree.t(:price) %></th>
      <th class="cart-item-quantity-header"><%= Spree.t(:qty) %></th>
      <th class="cart-item-total-header"><%= Spree.t(:total) %></th>
      <th class="cart-item-delete-header"></th>
    </tr>
  </thead>
  <tbody id="line_items" data-hook>
    <%= render partial: 'spree/orders/line_item', collection: order_form.object.line_items, locals: {order_form: order_form} %>
  </tbody>
  <% if @order.adjustments.nonzero.exists? || @order.line_item_adjustments.nonzero.exists? || @order.shipment_adjustments.nonzero.exists? || @order.shipments.any? %>
    <tr class="cart-subtotal">
      <td colspan="4" align='right'><h5><%= Spree.t(:cart_subtotal, :count => @order.line_items.sum(:quantity)) %></h5></th>
      <td colspan><h5><%= order_form.object.display_item_total %></h5></td>
      <td></td>
    </tr>
    <%= render "spree/orders/adjustments" %>
  <% end %>
  <tr class="cart-total">
    <td colspan="4" align='right'><h5><%= Spree.t(:total) %></h5></th>
    <td colspan><h5><%= order_form.object.display_total %></h5></td>
    <td></td>
  </tr>
</table>

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
solidus_frontend-1.1.0.beta1 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.2 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.10 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.1 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.0 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.0.rc2 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.0.rc1 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.9 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.0.pre3 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.0.pre2 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.8 app/views/spree/orders/_form.html.erb
solidus_frontend-1.0.0.pre app/views/spree/orders/_form.html.erb
spree_frontend-2.4.7 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.6 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.5 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.4 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.3 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.2 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.1 app/views/spree/orders/_form.html.erb
spree_frontend-2.4.0 app/views/spree/orders/_form.html.erb