Sha256: 9f9bde0c612b18ed5960cbc24c660beb0b938e29bd27cd240bc8c11cd80098c2

Contents?: true

Size: 1.77 KB

Versions: 5

Compression:

Stored size: 1.77 KB

Contents

<tr class='new-row' data-transfer-item-id="{{id}}">
  <td class="no-padding">
    <div class='variant-container' data-variant-id="{{variantId}}">
      <div class='variant-image'>
        {{> _image image=variantImage size="small" alt=variantName }}
      </div>
      <div class='variant-details'>
        <table class='stock-variant-field-table'>
          <tbody>
            {{#each variantDisplayAttributes}}
              <tr>
                <td>{{this.label}}</td>
                <td class="fullwidth">{{this.value}}</td>
              </tr>
            {{/each}}
          </tbody>
        </table>
      </div>
    </div>
  </td>
  <td>
    <table class='stock-variant-field-table'>
      {{#each variantOptions}}
        <tr>
          <td>{{this.option_type}}</td>
          <td>{{this.option_value}}</td>
        </tr>
      {{/each}}
    </table>
  </td>
  <td id="number-update-{{id}}">
    {{#if isReceiving }}
      <span class='js-number-update-text'>{{receivedQuantity}}</span>
      <input class="fullwidth js-number-update-input" name="received_quantity" type="number" value="">
    {{ else }}
      <span class='js-number-update-text'>{{expectedQuantity}}</span>
      <input class="fullwidth js-number-update-input" name="expected_quantity" type="number" value="">
    {{/if}}
  </td>
  <td class="actions">
    <a class="fa fa-edit icon_link with-tip no-text" data-action="edit" data-id="{{id}}" href="#"></a>
    <a class="fa fa-check icon_link with-tip no-text" data-action="save" data-id="{{id}}" href="#"></a>
    <a class="fa fa-cancel icon_link with-tip no-text" data-action="cancel" data-id="{{id}}" href="#"></a>
    {{#unless isReceiving }}
      <a class="fa fa-trash icon_link with-tip no-text" data-action="remove" data-id="{{id}}" href="#"></a>
    {{/unless}}
  </td>
</tr>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_backend-2.4.2 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs
solidus_backend-2.4.1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs
solidus_backend-2.4.0 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs
solidus_backend-2.4.0.rc1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs
solidus_backend-2.4.0.beta1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs