Sha256: 8afdc664524140d1355ccff2fc53da7090fcbee8bad8b7feb3fd142ab525dc7f

Contents?: true

Size: 1.86 KB

Versions: 23

Compression:

Stored size: 1.86 KB

Contents

<div class="table-responsive">
  <table class="table table-condensed table-bordered">
    <thead>
      <tr>
        <th>
          <%= check_box_tag 'select-all' %>
        </th>
        <th><%= Spree.t(:product) %></th>
        <th><%= Spree.t(:sku) %></th>
        <th><%= Spree.t(:pre_tax_amount) %></th>
        <th><%= Spree.t(:exchange_for) %></th>
        <th><%= Spree.t(:resellable) %></th>
      </tr>
    </thead>
    <tbody>
      <%= f.fields_for :return_items, return_items do |item_fields| %>
        <% return_item = item_fields.object %>
        <tr>
          <td class="align-center" class="inventory-unit-checkbox">
            <div style="display:none">
              <%= item_fields.hidden_field :inventory_unit_id %>
              <%= item_fields.hidden_field :return_authorization_id %>
              <%= item_fields.hidden_field :pre_tax_amount %>
            </div>
            <%= item_fields.check_box :returned, {checked: false, class: 'add-item', "data-price" => return_item.pre_tax_amount}, '1', '0' %>
          </td>
          <td>
            <div class="variant-name">
              <%= link_to return_item.inventory_unit.variant.name, spree.edit_admin_product_path(return_item.inventory_unit.variant.product) %>
            </div>
            <div class="variant-options"><%= return_item.inventory_unit.variant.options_text %></div>
          </td>
          <td>
            <%= return_item.inventory_unit.variant.sku %>
          </td>
          <td class="align-center">
            <%= return_item.display_pre_tax_amount %>
          </td>
          <td class="align-center">
            <%= return_item.exchange_variant.try(:exchange_name) %>
          </td>
          <td class="align-center">
            <%= item_fields.check_box :resellable, { checked: return_item.resellable } %>
          </td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
spree_backend-4.2.7 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.3.3 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.6 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.3.2 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.4.1 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.4.0 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.4.0.rc2 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.3.1 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.4.0.rc1 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.3.0 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.3.0.rc3 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.3.0.rc2 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.3.0.rc1 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.5 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.4 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.3.1 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.3 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.2 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.1 app/views/spree/admin/customer_returns/_return_item_selection.html.erb
spree_backend-4.2.0 app/views/spree/admin/customer_returns/_return_item_selection.html.erb