22adb4d5fd
The primary license of the project is changing to: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later with some specific files to be licensed under the one of two licenses: CC0-1.0 LGPL-3.0-or-later This commit is one of the many steps to relicense the entire codebase. Documentation granting permission for this relicensing (from all past contributors who hold copyrights) is on file with Software Freedom Conservancy, Inc.
64 lines
1.3 KiB
Text
64 lines
1.3 KiB
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<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'>
|
|
Payment Receipt for <%= Settings.general.name %>
|
|
</th>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>Total Amount</strong></td>
|
|
<td> <%= print_currency(@payment.gross_amount) %></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><%= Settings.devise.mailer_sender %>
|
|
</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' %>
|