Sha256: 16a309f2cffd6cfe4b5213a91035b3df2a5066ba1e59349292b8bd1fec5fd280
Contents?: true
Size: 1.92 KB
Versions: 1
Compression:
Stored size: 1.92 KB
Contents
<table class="show return-items-table table table-condensed table-bordered index"> <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></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> <%= return_item.display_pre_tax_amount %> </td> <td> <%= reimbursement_type_name(return_item.preferred_reimbursement_type) %> </td> <td> <%= return_item.exchange_variant.try(:exchange_name) %> </td> <td> <%= return_item.acceptance_status_errors %> </td> <% if show_decision %> <td class='actions actions-2'> <%= button_to [:admin, return_item], { class: 'icon icon-thumbs-up icon_link no-text with-tip display-inline', 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: 'icon icon-thumbs-down icon_link no-text with-tip display-inline', 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_backend-3.0.0.rc1 | app/views/spree/admin/customer_returns/_return_item_decision.html.erb |