diff --git a/src/django_program/manage/templates/django_program/manage/base.html b/src/django_program/manage/templates/django_program/manage/base.html index 7e9c71f..acd0bf4 100644 --- a/src/django_program/manage/templates/django_program/manage/base.html +++ b/src/django_program/manage/templates/django_program/manage/base.html @@ -1050,6 +1050,11 @@
Revenue, orders, payments, and ticket sales for {{ conference.name }}
+{% endblock %} + +{% block page_actions %} +View All Orders +{% endblock %} + +{% block content %} + + +| Status | +Count | +
|---|---|
| + {% if status == "paid" %} + Paid + {% elif status == "pending" %} + Pending + {% elif status == "refunded" %} + Refunded + {% elif status == "partially_refunded" %} + Partial Refund + {% elif status == "cancelled" %} + Cancelled + {% else %} + {{ status }} + {% endif %} + | +{{ count }} | +
| Status | +Count | +
|---|---|
| Active | +{{ carts_by_status.active }} | +
| Checked Out | +{{ carts_by_status.checked_out }} | +
| Expired | +{{ carts_by_status.expired }} | +
| Abandoned | +{{ carts_by_status.abandoned }} | +
| Method | +Count | +Total Amount | +
|---|---|---|
| {{ data.label }} | +{{ data.count }} | +${{ data.total_amount }} | +
No payments recorded.
+| Ticket Type | +Price | +Sold | +Remaining | +Revenue | +
|---|---|---|---|---|
| {{ ticket.name }} | +${{ ticket.price }} | +{{ ticket.sold_count }} | ++ {% if ticket.total_quantity == 0 %} + ∞ + {% else %} + {{ ticket.remaining_quantity|default:"--" }} + {% endif %} + | +${{ ticket.ticket_revenue|default:"0.00" }} | +
No ticket types configured for this conference.
+| Reference | +User | +Status | +Total | +Date | +
|---|---|---|---|---|
| {{ order.reference }} | +{{ order.user.email|default:order.user.username }} | ++ {% 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.total }} | +{{ order.created_at|date:"M j, Y" }} | +
No orders yet for this conference.
+| User | +Items | +Created | +Expires | +
|---|---|---|---|
| {{ cart.user.email|default:cart.user.username }} | +{{ cart.item_count }} | +{{ cart.created_at|date:"M j, Y g:i A" }} | ++ {% if cart.expires_at %} + {{ cart.expires_at|date:"M j, Y g:i A" }} + {% else %} + No expiry + {% endif %} + | +
No active carts at this time.
+