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.
40 lines
836 B
Text
40 lines
836 B
Text
<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
|
|
<table class='table'>
|
|
|
|
<thead>
|
|
<th colspan='2'>
|
|
Payment Receipt
|
|
</th>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<tr>
|
|
<td><strong>Total Amount</strong></td>
|
|
<td> <%= print_currency(charge.amount) %></td>
|
|
</tr>
|
|
|
|
<% if @event %>
|
|
<tr>
|
|
<td><strong>Event</strong></td>
|
|
<td> <%= @event.name %></td>
|
|
</tr>
|
|
<% end %>
|
|
|
|
<tr>
|
|
<td><strong>Transaction Date</strong></td>
|
|
<td><%= Format::Date.full(charge.created_at, charge.nonprofit.timezone) %></td>
|
|
</tr>
|
|
<tr>
|
|
<td><strong>Transaction ID</strong></td>
|
|
<td> <%= charge.id %></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<% if GetData.chain(charge.card, :name).present? %>
|
|
<td><strong>Card</strong></td>
|
|
<td> <%= charge.card.name %> </td>
|
|
<% end %>
|
|
</tbody>
|
|
|
|
</table>
|
|
<br>
|