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

21 lines
652 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 -%>
<table class='table'>
<tr>
<td><strong>Gross Amount</strong></td>
<td><%= print_currency(payout.gross_amount, payout.nonprofit.currency_symbol) %></td>
</tr>
<tr>
<td><strong>Net Amount</strong></td>
<td><%= print_currency(payout.net_amount, payout.nonprofit.currency_symbol) %></td>
</tr>
<tr>
<td><strong>Date</strong></td>
<td><%= simple_date(payout.created_at) %></td>
</tr>
<tr>
<td><strong>Bank Account</strong></td>
<td><%= payout.bank_name %></td>
</tr>
</table>