Sha256: 142579bd11dca5f312a00b695189cbf5539772e0e1ed2f8a2a293da11ad8dbc5

Contents?: true

Size: 862 Bytes

Versions: 8

Compression:

Stored size: 862 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="<%= dom_id(adjustment) %>" data-hook="adjustment_row">
      <td><%= adjustment.created_at.to_s(:date_time24) %></td>
      <td><%= adjustment.label %></td>
      <td><%= number_to_currency adjustment.amount %></td>
      <td class='actions'>
        <%= link_to_edit adjustment, :class => 'edit' %>
        &nbsp;
        <%= link_to_delete adjustment, {}, :class => 'delete' %>
      </td>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.70.7 app/views/admin/adjustments/_adjustments_table.html.erb
spree_core-0.70.6 app/views/admin/adjustments/_adjustments_table.html.erb
spree_core-0.70.5 app/views/admin/adjustments/_adjustments_table.html.erb
spree_core-0.70.4 app/views/admin/adjustments/_adjustments_table.html.erb
spree_core-0.70.3 app/views/admin/adjustments/_adjustments_table.html.erb
spree_core-0.70.2 app/views/admin/adjustments/_adjustments_table.html.erb
spree_core-0.70.1 app/views/admin/adjustments/_adjustments_table.html.erb
spree_core-0.70.0 app/views/admin/adjustments/_adjustments_table.html.erb