{% if plan_data.stripe_customer_url %} {% else %} {% endif %} Current plan information:

{% if plan_data.warning %}
{{ plan_data.warning }}
{% endif %} Plan name: {{ plan_data.current_plan.name }}
Status: {{ plan_data.current_plan.get_plan_status_as_text() }}
{% if plan_data.current_plan.tier == plan_data.current_plan.TIER_SELF_HOSTED_COMMUNITY %} {% else %} {% if plan_data.current_plan.discount %} Discount: {{ plan_data.current_plan.discount }}%
{% endif %} {% if plan_data.is_legacy_plan %} End date: {{ plan_data.current_plan.end_date.strftime('%d %B %Y') }}
{% else %} Licenses: {{ plan_data.licenses_used }}/{{ plan_data.licenses }} ({% if plan_data.current_plan.automanage_licenses %}Automatic{% else %}Manual{% endif %})
Billing schedule: {% if plan_data.current_plan.billing_schedule == plan_data.current_plan.BILLING_SCHEDULE_ANNUAL %}Annual{% else %}Monthly{% endif %}
{% if plan_data.current_plan.price_per_license %} Price per license: ${{ dollar_amount(plan_data.current_plan.price_per_license) }}
{% elif plan_data.current_plan.fixed_price %} Plan has a fixed price.
{% endif %} Annual recurring revenue: ${{ dollar_amount(plan_data.annual_recurring_revenue) }}
Start of next billing cycle: {{ plan_data.next_billing_cycle_start.strftime('%d %B %Y') }}
{% endif %} {% endif %}