Sha256: a1c511a2da8765187b1980f8bd890180e0472bb7274e82319711b3a4922ff039

Contents?: true

Size: 2 KB

Versions: 85

Compression:

Stored size: 2 KB

Contents

<table class="row header">
  <tr>
    <td>
      <p class="lede">
        <%= Spree.t('reimbursement_mailer.reimbursement_email.dear_customer') %>
      </p>
      <p>
        <%= Spree.t('reimbursement_mailer.reimbursement_email.instructions') %>
      </p>
      <p>
        <%= Spree.t('reimbursement_mailer.reimbursement_email.refund_summary') %>
      </p>
      <p>
        <%= Spree.t('reimbursement_mailer.reimbursement_email.total_refunded', total: @reimbursement.display_total) %>
      </p>

      <% if @reimbursement.return_items.exchange_requested.present? %>
        
        <p>
        <%= Spree.t('reimbursement_mailer.reimbursement_email.exchange_summary') %>
        </p>

        <table class="container">
          <tr>
            <td class="wrapper last">
              <table class="twelve columns">

                <% @reimbursement.return_items.exchange_requested.each do |return_item| %>
                  <tr>
                    <td class="six sub-columns">
                      <%= return_item.variant.sku %>
                    </td>
                    <td>
                      <%= link_to raw(return_item.variant.product.name),
                                  spree.product_url(return_item.variant.product) %>
                    </td>
                    <td>
                      <%= "(#{raw(return_item.exchange_variant.options_text)})" if return_item.exchange_variant.options_text.present? -%>
                    </td>
                  </tr>
                <% end %>

              </table>
            </td>
          </tr>
        </table>


        <% if @reimbursement.return_items.awaiting_return.present? && Spree::Config[:expedited_exchanges] %>
          <p>
          <%= Spree.t('reimbursement_mailer.reimbursement_email.days_to_send', days: Spree::Config[:expedited_exchanges_days_window]) %>
          </p>
        <% end %>

      <% end %>
      <p>
        <%= Spree.t('reimbursement_mailer.reimbursement_email.thanks') %>
      </p>
    <td class="expander"></td>
  </tr>
</table>

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
spree_core-4.0.9 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.15 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.14 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.0.8 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-3.7.14.1 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.13.1 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.0.7.1 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.0.7 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-3.7.14 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.13 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.0.6 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-3.7.13 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.0.5 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.12 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-3.7.12 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.0.4 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-3.7.11 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.11 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.10 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
spree_core-4.1.9 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb