Sha256: c186ce79d660d8bba34b75ad0fa46d6b81b498d40898f385e64f340e3ffe4972

Contents?: true

Size: 832 Bytes

Versions: 12

Compression:

Stored size: 832 Bytes

Contents

<%
  @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"><%= display_adjustable(adjustment.adjustable) %></td>
  <td class="align-center"><%= adjustment.label %></td>
  <td class="align-center"><%= adjustment.display_amount.to_html %></td>
  <td class="align-center"><%= adjustment_state(adjustment) %></td>
  <td class='actions'>
    <% if adjustment.open? %>
      <% if can?(:update, adjustment) %>
        <%= link_to_edit adjustment, :no_text => true %>
      <% end %>

      <% if can?(:destroy, adjustment) %>
        <%= link_to_delete adjustment, :no_text => true %>
      <% end %>
    <% end %>
  </td>
</tr>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
solidus_backend-1.0.7 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.6 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.5 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.4 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.3 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.2 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.1 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.0 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.0.rc2 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.0.rc1 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.0.pre3 app/views/spree/admin/adjustments/_adjustment.html.erb
solidus_backend-1.0.0.pre2 app/views/spree/admin/adjustments/_adjustment.html.erb