Sha256: 7ddc1a86ca863fe937af300aa22fa0587c45f9d78d586e98a3570298a803b207

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

<%= render :partial => 'shared/order_tabs', :locals => {:current => "Shipments"} %>
<table class="admin-report">
  <tr>
    <th><%= t("ext_shipping_shipment_number") %></th>
    <th><%= t("ext_shipping_method") %></th>
    <th><%= t("ext_shipping_cost") %></th>
    <th><%= t("ext_shipping_tracking") %></th>
    <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
    <th><%= t("action") %></th>
  </tr>
  <% @shipments.each do |shipment| %>
    <tr>
      <td><%= shipment.number %></td>
      <td><%= shipment.shipping_method.name if shipment.shipping_method %></td>
      <td><%= shipment.cost %></td>
      <td><%= shipment.tracking %></td>
      <td><%= shipment.shipped_at.to_s(:date_time24) if shipment.shipped_at %></td>
      <td><%= link_to t('edit'), edit_admin_order_shipment_url(@order, shipment) %></td>
    </tr>
  <% end %>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree-0.7.0 vendor/extensions/shipping/app/views/admin/shipments/index.html.erb
spree-0.7.1 vendor/extensions/shipping/app/views/admin/shipments/index.html.erb