Sha256: 031ce3dfdc1994a0d949d2d748b30a3c64339c080a5715cfab9edb6753d223fc
Contents?: true
Size: 1.44 KB
Versions: 6
Compression:
Stored size: 1.44 KB
Contents
<table class="index return-items-table"> <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> </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"><%= return_item.inventory_unit.variant.name %></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(:options_text) %> </td> </tr> <% end %> </tbody> </table>
Version data entries
6 entries across 6 versions & 1 rubygems