Sha256: 2c59016b829ec7d1744f619cda6a51852f4d07e48f7763346259180325805a4d

Contents?: true

Size: 1020 Bytes

Versions: 19

Compression:

Stored size: 1020 Bytes

Contents

<tr id="<%= dom_id(f.object) %>">
  <%- locals = {:f => f} %>
  <%= hook :admin_order_form_line_item_row, locals do %>
    <td width="300"><%=f.object.variant.product.name%> <%= "(" + variant_options(f.object.variant) + ")" unless f.object.variant.option_values.empty? %></td>
    <td valign="top" class="price"><%= number_to_currency f.object.price %></td>
    <td valign="top" class="qty"><%=f.text_field :quantity, :style => "width:30px;", :class => "qty" %></td>
    <td valign="top" class="total"><%= number_to_currency (f.object.price * f.object.quantity)%></td>
  <% end %>
  <td>
    <%= hook :admin_order_form_line_item_actions, locals do %>
      <%= link_to_delete f.object, {:url => admin_order_line_item_url(@order.number, f.object),
                                    :dataType => "html" ,
                                    :success => "function(r){ jQuery('#order-form-wrapper').html(r);}"},
                                    :title => "admin_delete_#{dom_id(@order)}" %>
    <% end %>
  </td>
</tr>

Version data entries

19 entries across 19 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/admin/orders/_line_item.html.erb
My-Commerce_core-1.1.0 app/views/admin/orders/_line_item.html.erb
My-Commerce_core-1.0.0 app/views/admin/orders/_line_item.html.erb
MyCommerceapi-1.0.0 core/app/views/admin/orders/_line_item.html.erb
MyCommerce-0.0.3 core/app/views/admin/orders/_line_item.html.erb
rfcommerce_core-0.0.3 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.6 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.5 app/views/admin/orders/_line_item.html.erb
spree_core-0.50.4 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.4 app/views/admin/orders/_line_item.html.erb
spree_core-0.50.3 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.3 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.2 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.1 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.0 app/views/admin/orders/_line_item.html.erb
spree_core-0.60.0.RC1 app/views/admin/orders/_line_item.html.erb
spree_core-0.50.2 app/views/admin/orders/_line_item.html.erb
spree_core-0.50.1 app/views/admin/orders/_line_item.html.erb
spree_core-0.50.0 app/views/admin/orders/_line_item.html.erb