Sha256: 66ea367dc7e187d4093c803afb83ad70c86b3fa9050fdb7d05e82799a15b9dd6

Contents?: true

Size: 657 Bytes

Versions: 1

Compression:

Stored size: 657 Bytes

Contents

<tr id="<%= spree_dom_id(f.object) %>" data-hook="admin_order_form_line_item_row">
  <td>
    <%=f.object.variant.product.name%> 
    <%= "(#{f.object.variant.options_text})" unless f.object.variant.option_values.empty? %>
  </td>
  <td class="price ">
    <%= f.object.single_money %>
  </td>
  <td class="qty">
    <%= f.number_field :quantity, min: 0, class: "qty" %>
  </td>
  <td class="total">
    <%= f.object.display_amount %>
  </td>
  <td data-hook="admin_order_form_line_item_actions" class="actions">
    <%= link_to_delete f.object, { 
      url: admin_order_line_item_url(@order.number, f.object), 
      no_text: true 
    } %>
  </td>
</tr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_backend-3.0.0.rc1 app/views/spree/admin/orders/_line_item.html.erb