houdini/app/views/nonprofit_mailer/refund_notification.html.erb
2020-06-15 10:26:57 -05:00

14 lines
636 B
Text

<%- # License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE -%>
<p>A refund has been made for the following payment. Here is a copy of the receipt for your records (the supporter also received a copy):</p><br>
<%= render 'user_mailer/refund_receipt', charge: @charge, refund: @refund %>
<% if @supporter %>
<%= render 'components/email/supporter_table', supporter: @supporter %>
<% end %>
<p><a href='<%= Format::Url.concat(root_url, "/nonprofits/#{@nonprofit.id}/payments") %>'>Manage your payments here.</a></p>
<%= render 'emails/sig' %>