| 123456789101112131415161718192021222324 |
- <tr id="special_price_<%= special_price.id %>">
- <td> # </td>
- <td> <%= special_price.product.sku %> </td>
- <td>
- <%= special_price.product.name %><br>
- <%= special_price.product.display_attributes %>
- </td>
- <td class="text-center">
- <img src="<%= special_price.product.small_img %>" width="100" height="100"/>
- </td>
- <td>
- <%= number_to_currency(special_price.product.price_sale, precision: 2) %>
- <%= hidden_field_tag 'product_price_sale', special_price.product.price_sale %>
- </td>
- <td>
- <input class="form-control" id="price_<%= special_price.id %>" type="number" value="<%=special_price.price %>" min="0" oninput="updateProductPrice($(this))" />
- </td>
- <td>
- <input class="form-control input-small" id="percent_<%= special_price.id %>" type="number" value="<%=special_price.percent %>" min="0" max="100" oninput="updateProductPercent($(this))" />
- </td>
- <td class="text-center">
- <button type="button" class="btn btn-icon-only btn-danger" onclick="deleteRow($(this))"><i class="fa fa-trash-o"></i></button>
- </td>
- </tr>
|