<%- # 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 -%>
One-Time Donations <%= print_currency(@donations.pluck(:amount).sum) %> total
<% if @donations.empty? %>

None Yet

<% else %> <% @donations.order('created_at DESC').each do |donation| %> <% end %>
$<%= print_currency donation.amount, false %> <%= link_to(donation.nonprofit.name, donation.nonprofit.url) %> <%= simple_date(donation.created_at) %> <%= GetData.chain(donation.card, :name) %>
<% end %>