%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%> <% unless Format::HTML.has_only_empty_tags(@event.receipt_message) %>
Hi <%= @supporter.name ? @supporter.name.split(' ').first : '' %>,
Below <%= @tickets.length == 1 ? 'is your ticket' : 'are your tickets' %> and event info for <%= @event.name %>
<% end %>Event Info | |
---|---|
Link | <%= Format::Url.concat(root_url, @event.url) %> |
Date & Time | <%= Format::Date.full_range(@event.start_datetime, @event.end_datetime, @event.nonprofit.timezone) %> |
Organizer Contact | |
Nonprofit | <%= @event.nonprofit.name %> |
Event Location |
<%= @event.address %> <%= @event.city %>, <%= @event.state_code %> <%= @event.zip_code %> |
Additional Directions | <%= @event.directions %> |
Your payment of $<%= Format::Currency.cents_to_dollars(@charge.amount) %> for the event <%= @event.name %> using <%= GetData.chain(@charge, :card, :name) || 'Unknown card' %> was successful.
This charge will appear on your card statement as: "Tickets <%= @event.name %>".