Sha256: f355478a5f9a8bdcf81514943577eeb14ca381ecdb83648771c6c1191e9b99a3
Contents?: true
Size: 911 Bytes
Versions: 15
Compression:
Stored size: 911 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="text-lowercase badge badge-<%= adjustment.state %>"> <%= Spree.t("state_machine_states.#{adjustment.state}") %> </span> </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
15 entries across 15 versions & 1 rubygems