%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<%= t('mailer.donations.donation_receipt') %> | ||
---|---|---|
<%= t('mailer.donations.donor_name') %> | <% if donation.anonymous || donation.supporter.anonymous %>Anonymous | <% else %><%= donation.supporter.name %> | <% end %>
<%= t('donation.amount') %> | <%= print_currency(charge.try(:amount) || donation.amount, donation.nonprofit.currency_symbol) %> | |
<%= t('donation.date') %> | <%= date_and_time(charge.try(:created_at) || donation.created_at, donation.nonprofit.timezone) %> | |
<%= t('donation.campaign') %> | <%= donation.campaign.name %> | |
Event | <%= donation.event.name %> | |
<%= t('donation.recurring_interval') %> | Every <%= donation.recurring_donation.interval %> <%= donation.recurring_donation.time_unit %> | |
<%= t('donation.recurring_since') %> | <%= simple_date donation.recurring_donation.created_at %> | |
<%= t('organization.name') %> | <%= donation.nonprofit.name %> | |
Tax ID Number | <%= donation.nonprofit.ein %> | |
<%= t('donation.comment') %> | <%= donation.comment || 'None' %> | |
Designation | <%= donation.designation || 'None' %> | |
Dedication | <%= donation.dedication ? Format::Dedication.from_json(donation.dedication) : 'None' %> | |
<%= t('donation.payment_id') %> | <%= GetData.chain(donation.payment, :id) %> |