houdini/app/views/nonprofit_mailer/refund_notification.html.erb

15 lines
636 B
Text
Raw Normal View History

2020-06-12 20:03:43 +00:00
<%- # 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' %>