diff --git a/src/pretix/control/static/pretixcontrol/less/orders.less b/src/pretix/control/static/pretixcontrol/less/orders.less new file mode 100644 index 0000000000..a899b324e2 --- /dev/null +++ b/src/pretix/control/static/pretixcontrol/less/orders.less @@ -0,0 +1,15 @@ +.table-product-overview { + .item.categorized td:first-child { + padding-left: 20px; + } + .variation td:first-child { + padding-left: 20px; + } + .variation.categorized td:first-child { + padding-left: 40px; + } + td:not(:first-child), + th:not(:first-child) { + text-align: right; + } +} \ No newline at end of file diff --git a/src/pretix/control/templates/pretixcontrol/orders/overview.html b/src/pretix/control/templates/pretixcontrol/orders/overview.html new file mode 100644 index 0000000000..9ea876b2ea --- /dev/null +++ b/src/pretix/control/templates/pretixcontrol/orders/overview.html @@ -0,0 +1,64 @@ +{% extends "pretixcontrol/event/base.html" %} +{% load i18n %} +{% block title %}{% trans "Order overview" %}{% endblock %} +{% block content %} +
| {% trans "Product" %} | +{% trans "Total orders" %} | +{% trans "Payment pending" %} | +{% trans "Cancelled" %} | +{% trans "Refunded" %} | +{% trans "Paid" %} | +
|---|---|---|---|---|---|
| {{ tup.0.name }} | +{{ tup.0.num_total }} | +{{ tup.0.num_pending }} | +{{ tup.0.num_cancelled }} | +{{ tup.0.num_refunded }} | +{{ tup.0.num_paid }} | +
| {{ item.name }} | +{{ item.num_total }} | +{{ item.num_pending }} | +{{ item.num_cancelled }} | +{{ item.num_refunded }} | +{{ item.num_paid }} | +
| {{ var }} | +{{ var.num_total }} | +{{ var.num_pending }} | +{{ var.num_cancelled }} | +{{ var.num_refunded }} | +{{ var.num_paid }} | +
| {% trans "Total" %} | +{{ total.num_total }} | +{{ total.num_pending }} | +{{ total.num_cancelled }} | +{{ total.num_refunded }} | +{{ total.num_paid }} | +