Sha256: e77614670f90ffe10f21f7c32b7a240ec51f174b67c0697c22621bb4a940f9c9

Contents?: true

Size: 1.41 KB

Versions: 5

Compression:

Stored size: 1.41 KB

Contents

<table>
  <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>
          <% @reimbursement.return_items.exchange_requested.each do |return_item| %>
            <tr>
              <td>
                <%= return_item.variant.sku %> <%= raw(return_item.variant.name) %> <%= "(#{raw(return_item.variant.options_text)})" if return_item.variant.options_text.present? %>
              </td>
              <td>
                ->
              </td>
              <td>
                <%= return_item.exchange_variant.sku %> <%= raw(return_item.exchange_variant.name) %> <%= "(#{raw(return_item.exchange_variant.options_text)})" if return_item.exchange_variant.options_text.present? %>
              </td>
            </tr>
          <% end %>
        </table>
      <% end %>
    </td>
    <td class="expander"></td>
  </tr>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_core-2.2.2 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
solidus_core-2.2.1 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
solidus_core-2.2.0 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
solidus_core-2.2.0.rc1 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb
solidus_core-2.2.0.beta1 app/views/spree/reimbursement_mailer/reimbursement_email.html.erb