Sha256: cbc419fe1581a694c6974fb0d03b0f58577cea0f99b90fc7ab6f9077b41b1771

Contents?: true

Size: 1.17 KB

Versions: 26

Compression:

Stored size: 1.17 KB

Contents

<script type='text/template' id='variant_split_template'>
  <tr class='stock-item-split' data-variant-id='{{variant.id}}'>
    <td colspan='2'>
      Move {{variant.name}} to:
    </td>
    <td colspan='2'>
    <select name="item_stock_location" id='item_stock_location' style='width:100%;'>
      <option></option>
      <optgroup label="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="New Shipment At Location">
        {{#each variant.stock_items}}
          <option data-new-shipment='true' value='{{this.stock_location_id}}'>{{this.stock_location_name}}</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 icon-ok no-text with-tip' title='Save'></a>
      <a href='#' class='cancel-split icon_link icon-cancel no-text with-tip' title='Cancel'></a>
    </td>
  </tr>
</script>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_backend-2.1.12 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.11 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.10 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.13 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.9 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.8 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.12 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.7 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.11 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.10 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.6 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.2.0 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.5 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.9 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.4 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.8 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.3 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.7 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.1.2 app/views/spree/admin/variants/_split.js.erb
spree_backend-2.0.6 app/views/spree/admin/variants/_split.js.erb