Sha256: 65960e239ff8e6b48e3e18bdc1b802aeee69147c936b471206be50b8a3c17f80
Contents?: true
Size: 1.28 KB
Versions: 27
Compression:
Stored size: 1.28 KB
Contents
<script type='text/template' id='variant_split_template'> <tr class='stock-item-split' data-variant-id='{{variant.id}}'> <td colspan='2'> <%=Spree.t("move_variant_to", default: "Move {{variant.name}} to")%> </td> <td colspan='2'> <select name="item_stock_location" id='item_stock_location' style='width:100%;'> <option></option> <optgroup label="<%=Spree.t('existing_shipments')%>"> {{#each shipments}} <option data-shipment-number='{{this.number}}' value='{{this.stock_location_id}}'>{{this.stock_location.name}}({{this.number}})</option> {{/each}} </optgroup> <optgroup label="<%=Spree.t('new_shipment_at_location')%>"> {{#each variant.stock_items}} <option data-new-shipment='true' value='{{this.stock_location_id}}'>{{this.stock_location_name}} ({{this.count_on_hand}} on hand)</option> {{/each}} </optgroup> </select> </td> <td> <input class="quantity" id="item_quantity" type="number" min="1" value="1" max="{{max_quantity}}"> </td> <td class='actions'> <a href='#' class='save-split icon_link fa fa-ok no-text with-tip' title='Save'></a> <a href='#' class='cancel-split icon_link fa fa-cancel no-text with-tip' title='Cancel'></a> </td> </tr> </script>
Version data entries
27 entries across 27 versions & 2 rubygems