Sha256: 37757c81ebe93255eca33c4413801fcd090debb8f859aba8ec7660f376e4b238

Contents?: true

Size: 1021 Bytes

Versions: 6

Compression:

Stored size: 1021 Bytes

Contents

<table class="index" data-hook="adjustments">
  <thead data-hook="adjustmment_head">
    <tr>
      <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
      <th><%= t(:description) %></th>
      <th><%= t(:amount) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @order.adjustments.each do |adjustment|
         @edit_url = edit_admin_order_adjustment_path(@order, adjustment)
         @delete_url = admin_order_adjustment_path(@order, adjustment)
    %>
      <tr id="<%= spree_dom_id(adjustment) %>" data-hook="adjustment_row" class="<%= cycle('odd', 'even')%>">
        <td class="align-center"><%= pretty_time(adjustment.created_at) %></td>
        <td class="align-center"><%= adjustment.label %></td>
        <td class="align-center"><%= adjustment.display_amount %></td>
        <td class='actions'>
          <%= link_to_edit adjustment, :no_text => true %>
          <%= link_to_delete adjustment, :no_text => true %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_core-1.3.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.3.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.3.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.3.0.rc2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.3.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb