{% load lucide ui %} {% comment %} What the platform bills this club: plan, periods, and the modals for changing plan, opening a period, and recording a payment. Included with `club`, `subscription`, `dues`, `today`, `subscription_form`, `open_period_form`, `open_period_blurb` already in context. {% endcomment %}
This club is not billed for anything. Put it on a tier to start.
{% else %}On plan {{ subscription.tier.name }}. {% if subscription.trial_ends_at %} {% lucide "hourglass" size=12 %} Trial On trial until {{ subscription.trial_ends_at|date:"j M Y" }}, then switches to {{ subscription.post_trial_tier.name }}. {% endif %} {% if subscription.auto_renew %} Renews automatically 30 days before the period ends. {% else %} Auto-renew off — you must open each period by hand, or this club uses the platform for free. {% endif %} {% if subscription.auto_archive %} Archived automatically when a period goes unpaid past its grace period. {% else %} Auto-archive off — it will never be archived for non-payment. {% endif %}
| Period | Billed | Paid | Status | |
|---|---|---|---|---|
|
{{ due.period_start|date:"j M Y" }} — {{ due.period_end|date:"j M Y" }}
{{ due.tier.name }} · {{ due.invoice.number }} · grace to {{ due.grace_until|date:"j M Y" }}
|
€{{ due.amount|floatformat:2 }} | €{{ due.amount_paid|floatformat:2 }} | {% if due.status == "paid" %} {% lucide "check" size=12 %} Paid {% elif due.status == "waived" %} {% lucide "check" size=12 %} Waived {% elif due.grace_until < today %} {% lucide "triangle-alert" size=12 %} Overdue {% elif due.period_end < today %} {% lucide "hourglass" size=12 %} In grace {% else %} {{ due.get_status_display }} {% endif %} | {% if due.is_owing %} {% if not due.payments.all %} {% endif %} {% endif %} {% lucide "file-down" size=14 %} Download invoice |
| {% lucide "corner-down-right" size=12 %} {{ payment.paid_at|date:"j M Y" }} · {{ payment.get_method_display }}{% if payment.reference %} · {{ payment.reference }}{% endif %} | €{{ payment.amount|floatformat:2 }} | |||
| No periods billed yet. | ||||