Sha256: cf6f98572c00e7a744e9bc80df1cde6637e9c3bcdaee1efe42fce3f446b1bbed

Contents?: true

Size: 653 Bytes

Versions: 1

Compression:

Stored size: 653 Bytes

Contents

<div class="order-shipments">
  <h3 class="order-shipments__title">
    <%= title %>
  </h3>

  <%= link_to(
    "[#{t('spree.actions.edit')}]",
    checkout_state_path(:delivery),
    { class: 'order-shipments__edit' }
  ) unless @order.completed? %>

  <ul class="order-shipments__info">
    <% order.shipments.each do |shipment| %>
      <li>
        <%= t(
          'spree.shipment_details',
          stock_location: shipment.stock_location.name,
          shipping_method: shipment.selected_shipping_rate.name
        ) %>
      </li>
    <% end %>
  </ul>

  <%= render 'spree/shared/shipment_tracking', order: order if order.shipped? %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/components/orders/_order_shipments.html.erb