2023-12-06 18:09:34 +01:00
|
|
|
<h4>📅 Current plan information:</h4>
|
2023-12-06 18:16:20 +01:00
|
|
|
{% if plan_data.warning %}
|
|
|
|
<div class="current-plan-data-missing">
|
|
|
|
{{ plan_data.warning }}
|
|
|
|
<br />
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2023-12-06 18:09:34 +01:00
|
|
|
<b>Plan name</b>: {{ plan_data.current_plan.name }}<br />
|
|
|
|
<b>Status</b>: {{ plan_data.current_plan.get_plan_status_as_text() }}<br />
|
2023-12-18 21:09:33 +01:00
|
|
|
{% if plan_data.current_plan.tier == plan_data.current_plan.TIER_SELF_HOSTED_COMMUNITY %}
|
|
|
|
<!-- Any data below doesn't makes sense for sponsored organizations. -->
|
|
|
|
{% else %}
|
2023-12-15 17:16:39 +01:00
|
|
|
{% if plan_data.current_plan.discount %}
|
|
|
|
<b>Discount</b>: {{ format_discount(plan_data.current_plan.discount) }}%<br />
|
|
|
|
{% endif %}
|
2023-12-06 18:09:34 +01:00
|
|
|
{% if plan_data.is_legacy_plan %}
|
|
|
|
<b>End date</b>: {{ plan_data.current_plan.end_date.strftime('%d %B %Y') }}<br />
|
|
|
|
{% else %}
|
|
|
|
<b>Licenses</b>: {{ plan_data.licenses_used }}/{{ plan_data.licenses }} ({% if plan_data.current_plan.automanage_licenses %}Automatic{% else %}Manual{% endif %})<br />
|
2023-12-18 18:52:19 +01:00
|
|
|
<b>Billing schedule</b>: {% if plan_data.current_plan.billing_schedule == plan_data.current_plan.BILLING_SCHEDULE_ANNUAL %}Annual{% else %}Monthly{% endif %}<br />
|
2023-12-06 18:09:34 +01:00
|
|
|
{% if plan_data.current_plan.price_per_license %}
|
2023-12-18 18:52:19 +01:00
|
|
|
<b>Price per license</b>: ${{ dollar_amount(plan_data.current_plan.price_per_license) }}<br />
|
2023-12-06 18:09:34 +01:00
|
|
|
{% elif plan_data.current_plan.fixed_price %}
|
2023-12-18 18:52:19 +01:00
|
|
|
<b>Plan has a fixed price.</b>
|
2023-12-06 18:09:34 +01:00
|
|
|
{% endif %}
|
2023-12-18 18:52:19 +01:00
|
|
|
<b>Annual recurring revenue</b>: ${{ dollar_amount(plan_data.annual_recurring_revenue) }}<br />
|
2023-12-06 18:09:34 +01:00
|
|
|
<b>Next invoice date</b>: {{ plan_data.current_plan.next_invoice_date.strftime('%d %B %Y') }}<br />
|
|
|
|
{% endif %}
|
2023-12-18 21:09:33 +01:00
|
|
|
{% endif %}
|