{% extends "django_program/manage/base.html" %} {% block title %}{{ attendee.user.username }}{% endblock %} {% block breadcrumb %} {% endblock %} {% block page_title %}

{{ attendee.user.get_full_name|default:attendee.user.username }}

Attendee dossier for {{ conference.name }}

{% endblock %} {% block content %} {# ---- Identity & Status ---- #}
Username
{{ attendee.user.username }}
Email
{{ attendee.user.email|default:"—" }}
Access Code
{{ attendee.access_code }}
Registration
{% if attendee.completed_registration %} Complete {% else %} Incomplete {% endif %}
Check-In
{% if attendee.checked_in_at %} Checked In
{{ attendee.checked_in_at|date:"M j, Y g:i A" }} {% else %} Not Checked In {% endif %}
Registered
{{ attendee.created_at|date:"M j, Y g:i A" }}
Last Login
{{ attendee.user.last_login|date:"M j, Y g:i A"|default:"Never" }}
Account Created
{{ attendee.user.date_joined|date:"M j, Y" }}
{# ---- Orders ---- #}

Orders

{% if orders %} {% for order in orders %}
{{ order.reference }} {% if order.status == "paid" %} Paid {% elif order.status == "pending" %} Pending {% elif order.status == "refunded" %} Refunded {% elif order.status == "partially_refunded" %} Partial Refund {% elif order.status == "cancelled" %} Cancelled {% endif %}
{{ order.created_at|date:"M j, Y" }} · ${{ order.total }} {% if order.voucher_code %} · {{ order.voucher_code }}{% endif %}
{% for item in order.line_items.all %} {% endfor %}
ItemQtyPrice
{{ item.description }} {{ item.quantity }} ${{ item.line_total }}
{% if order.payments.all %}
Payments: {% for payment in order.payments.all %} {{ payment.get_method_display }} ${{ payment.amount }}{% if payment.status != "succeeded" %} ({{ payment.get_status_display }}){% endif %}{% if not forloop.last %}, {% endif %} {% endfor %}
{% endif %}
{% endfor %} {% else %}

No orders.

{% endif %} {# ---- Credits ---- #} {% if credits %}

Credits

{% for credit in credits %} {% endfor %}
AmountRemainingStatusNoteDate
${{ credit.amount }} ${{ credit.remaining_amount }} {% if credit.status == "available" %}Available {% elif credit.status == "applied" %}Applied {% else %}Expired{% endif %} {{ credit.note|default:"—"|truncatechars:60 }} {{ credit.created_at|date:"M j, Y" }}
{% endif %} {# ---- Vouchers Used ---- #} {% if vouchers_used %}

Vouchers Used

{% for code in vouchers_used %} {{ code }} {% endfor %}
{% endif %} {# ---- Activity Signups ---- #} {% if activity_signups %}

Activity Signups

{% for signup in activity_signups %} {% endfor %}
ActivityTypeStatusSigned Up
{{ signup.activity.name }} {{ signup.activity.get_activity_type_display }} {% if signup.status == "confirmed" %}Confirmed {% elif signup.status == "waitlisted" %}Waitlisted {% elif signup.status == "cancelled" %}Cancelled {% endif %} {{ signup.created_at|date:"M j, Y" }}
{% endif %} {# ---- Travel Grants ---- #} {% if travel_grants %}

Travel Grants

{% for grant in travel_grants %} {% endfor %}
TypeStatusRequestedApprovedDisbursedDate
{{ grant.get_request_type_display }} {% if grant.status == "accepted" %}Accepted {% elif grant.status == "offered" %}Offered {% elif grant.status == "submitted" %}Submitted {% elif grant.status == "disbursed" %}Disbursed {% elif grant.status == "rejected" %}Rejected {% elif grant.status == "withdrawn" %}Withdrawn {% else %}{{ grant.get_status_display }}{% endif %} ${{ grant.requested_amount|default:"0" }} {% if grant.approved_amount %}${{ grant.approved_amount }}{% else %}—{% endif %} {% if grant.disbursed_amount %}${{ grant.disbursed_amount }}{% else %}—{% endif %} {{ grant.created_at|date:"M j, Y" }}
{% endif %} {% endblock %}