Sha256: 3c40410af704a13348ae7bb6a3ee77a446303aa1243c23b9ad18d9230fed2bf5

Contents?: true

Size: 829 Bytes

Versions: 4

Compression:

Stored size: 829 Bytes

Contents

<table class="index" data-hook="adjustments">
  <tr data-hook="adjustmment_head">
    <th><%= "#{t('spree.date')}/#{t('spree.time')}" %></th>
    <th><%= t(:description) %></th>
    <th><%= t(:amount) %></th>
    <th></th>
  </tr>
  <% @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">
      <td><%= adjustment.created_at.to_s(:date_time24) %></td>
      <td><%= adjustment.label %></td>
      <td><%= adjustment.display_amount %></td>
      <td class='actions'>
        <%= link_to_edit adjustment, :class => 'edit' %>
        &nbsp;
        <%= link_to_delete adjustment %>
      </td>

    </tr>
  <% end %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_core-1.2.4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.2.3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.2.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.2.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb