Sha256: 8e22f0ae8561e478083860a2da0617d44c23da1b232f2161abc9a01c9cb6eb80

Contents?: true

Size: 858 Bytes

Versions: 11

Compression:

Stored size: 858 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

11 entries across 11 versions & 1 rubygems

Version Path
spree_core-1.0.7 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.6 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.1 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.0 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.0.rc4 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.0.rc3 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.0.rc2 app/views/spree/admin/adjustments/_adjustments_table.html.erb
spree_core-1.0.0.rc1 app/views/spree/admin/adjustments/_adjustments_table.html.erb