📅 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: {{ format_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) }}
Next invoice date: {{ plan_data.current_plan.next_invoice_date.strftime('%d %B %Y') }}
{% endif %}
{% endif %}