{% extends "base.html" %} {% block title %}Intelligence billing - {{ organization.name }} - Redea Social{% endblock %} {% block page_header %}

Billing

Intelligence subscription for {{ organization.name }}.

Back to Intelligence
{% endblock %} {% block content %}
{# ---- Subscription overview ---- #} {% if subscription %}

Subscription

Plan
{{ subscription.plan_slug|default:"," }}
Status
{% comment %} Stripe keeps status='active' until the period actually ends. When ``cancel_at`` is set, the user has clicked "Cancel" in the portal and is in the grace period, show an amber pill so it's visually distinct from a healthy "Active". (Must use {% comment %} not {# #} because the latter is single-line in Django.) {% endcomment %} {% if cancel_at and subscription.status == 'active' %} Active ยท canceling {% else %} {{ subscription.get_status_display }} {% endif %}
{% if cancel_at %}
Access ends
{{ cancel_at|date:"F j, Y" }}
You'll keep full Intelligence access until then, after which the subscription will be canceled and tool calls will stop.
{% elif subscription.current_period_end %}
Current period ends
{{ subscription.current_period_end|date:"F j, Y" }}
{% endif %}
{# ---- Manage in Stripe ---- #}
{% csrf_token %}

Update your card, view past invoices, or cancel through Stripe's secure customer portal.

{# Divider between subscription section and contact section. #}
{% endif %} {# ---- Billing contact email ---- #}

Billing contact

Stripe invoices and failed-payment notices route to this email. Changing it also updates the Stripe Customer's contact email.

{% csrf_token %}
{% endblock %} {% block extra_head %} {% include "intelligence/_cta_styles.html" %} {% endblock %}