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

66 lines
1.4 KiB
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>Dear <%= @nonprofit.name %>,</p>
<br>
<p>
Your invoice for the month of <%= @month_name %> has been paid and the receipt is below.
</p>
<br>
<table class='table'>
<thead>
<th colspan='2'>
2020-06-10 22:31:47 +00:00
Payment Receipt for <%= Houdini.general.name %>
</th>
</thead>
<tbody>
<tr>
<td><strong>Total Amount</strong></td>
2018-07-23 21:35:27 +00:00
<td> <%= print_currency(@payment.gross_amount, @payment.nonprofit.currency_symbol) %></td>
</tr>
<tr>
<td><strong>Transaction Date</strong></td>
<td><%= date_and_time(@payment.date, @nonprofit.timezone) %></td>
</tr>
<tr>
<td><strong>Plan Level</strong></td>
<td> <%= @nonprofit.billing_plan.name %></td>
</tr>
<tr>
<td>From:</td>
<td>
CommitChange Inc.
<br>Oakland, CA
<br>EIN 46-3123854
<br><%= Houdini.hoster.support_email %>
</td>
</tr>
<tr>
<td>To:</td>
<td>
<%= @nonprofit.name %>
<br><%= @nonprofit.city + ', ' + @nonprofit.state_code if @nonprofit.city.present? && @nonprofit.state_code.present? %>
<br><%= 'EIN ' + @nonprofit.ein unless @nonprofit.ein.blank? %>
<br><%= @nonprofit.email unless @nonprofit.email.blank? %>
</td>
</tr>
</tbody>
</table>
<p>
<br>
From our whole team: thank you so much for your business!
</p>
<%= render 'emails/sig' %>