Sha256: 5c8f997e13c66bcbc100c86ce4cabf5a4718d05dd0afa8215c178d9f3904fb51

Contents?: true

Size: 840 Bytes

Versions: 8

Compression:

Stored size: 840 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><%= number_to_currency adjustment.amount %></td>
      <td class='actions'>
        <%= link_to_edit adjustment, :class => 'edit' %>
        &nbsp;
        <%= link_to_delete adjustment %>
      </td>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-1.1.6 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.1.5 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.1.4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.1.3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.1.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.1.2.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb