Sha256: 90f68990b1cef824cb7d679964abb585e524f8514974c468ebca297324cf08ac

Contents?: true

Size: 810 Bytes

Versions: 96

Compression:

Stored size: 810 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) %>" class="<%= adjustment.eligible? ? 'eligible' : 'ineligible' %>" data-hook="adjustment_row">
  <td><%= display_adjustable(adjustment.adjustable) %></td>
  <td><%= adjustment.label %></td>
  <td class="text-center"><%= adjustment.display_amount.to_html %></td>
  <td class="text-center"><span class="label label-<%= adjustment.state %>"><%= adjustment.state %></td>
  <td class="actions actions-2 text-center">
    <% if adjustment.open? %>
      <%= link_to_edit(adjustment, no_text: true) if can?(:edit, adjustment) %>
      <%= link_to_delete(adjustment, no_text: true) if can?(:delete, adjustment) %>
    <% end %>
  </td>
</tr>

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
spree_backend-3.7.14.1 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.14 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.13 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.12 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.11 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.4.6 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.10 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.9 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.8 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.7 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.6 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.5 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.4 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.3 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.2 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.1 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.0 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.7.0.rc3 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.2.9 app/views/spree/admin/adjustments/_adjustment.html.erb
spree_backend-3.1.14 app/views/spree/admin/adjustments/_adjustment.html.erb