Sha256: 3446f8ed7b2ad5014e7025bb14eef8108fba7a51fe885ab8926b1d7ddaa0381d

Contents?: true

Size: 1.96 KB

Versions: 36

Compression:

Stored size: 1.96 KB

Contents

<tr class='new-row' data-transfer-item-id="{{id}}">
  <td class="align-center no-padding">
    <div class='variant-container' data-variant-id="{{variantId}}">
      <div class='variant-image'>
        {{#if variantImageURL }}
          <img alt="{{variantName}}" src="{{variantImageURL}}">
        {{ else }}
          <img alt='{{variant.name}}' src='<%= image_path("noimage/small.png") %>' />
        {{/if}}
      </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 class="align-center">
    <table class='stock-variant-field-table'>
      {{#each variantOptions}}
        <tr>
          <td>{{this.option_type}}</td>
          <td>{{this.option_value}}</td>
        </tr>
      {{/each}}
    </table>
  </td>
  <td class='align-center' 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="green" data-id="{{id}}" href="#"></a>
    <a class="fa fa-void icon_link with-tip no-text" data-action="red" 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

36 entries across 36 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.0.3 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.4.2 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.3.2 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.2.3 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.1.4 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.0.2 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.4.1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.1.0 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.1.0.rc1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.0.1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.1.0.beta1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.0.0 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.4.0 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.0.0.rc1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.4.0.rc1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-2.0.0.beta1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.4.0.beta1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.3.1 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb
solidus_backend-1.3.0 app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs.erb