Sha256: 69304c7a86143593b72515bfe5aee09521ca1007e4ff701b3a00df75e41cdc42
Contents?: true
Size: 1.93 KB
Versions: 6
Compression:
Stored size: 1.93 KB
Contents
<table class="show return-items-table"> <thead> <tr> <th><%= Spree.t(:product) %></th> <th><%= Spree.t(:sku) %></th> <th><%= Spree.t(:pre_tax_amount) %></th> <th><%= Spree.t(:preferred_reimbursement_type) %></th> <th><%= Spree.t(:exchange_for) %></th> <th><%= Spree.t(:acceptance_errors) %></th> <% if show_decision %> <th class="actions"></th> <% end %> </tr> </thead> <tbody> <% return_items.each do |return_item| %> <tr> <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"> <%= reimbursement_type_name(return_item.preferred_reimbursement_type) %> </td> <td class="align-center"> <%= return_item.exchange_variant.try(:options_text) %> </td> <td class="align-center"> <%= return_item.acceptance_status_errors %> </td> <% if show_decision %> <td class='actions'> <%= button_to [:admin, return_item], { class: 'fa fa-thumbs-up icon_link no-text with-tip', params: { "return_item[acceptance_status]" => 'accepted' }, "data-action" => 'save', title: Spree.t(:accept), method: 'put' } do %> Spree.t(:accept) <% end %> <%= button_to [:admin, return_item], { class: 'fa fa-thumbs-down icon_link no-text with-tip', params: { "return_item[acceptance_status]" => 'rejected' }, "data-action" => 'remove', title: Spree.t(:reject), method: 'put' } do %> Spree.t(:reject) <% end %> </td> <% end %> </tr> <% end %> </tbody> </table>
Version data entries
6 entries across 6 versions & 1 rubygems