mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
support: Add button to delete configured fixed next plan.
This will help us modify the configured plan if we need to.
This commit is contained in:
@@ -16,3 +16,11 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<b>Estimated annual revenue</b>: ${{ dollar_amount(plan_data.estimated_next_plan_revenue) }}<br />
|
||||
{% if plan_data.next_plan.fixed_price %}
|
||||
<form method="POST">
|
||||
{{ csrf_input }}
|
||||
<input type="hidden" name="{{ remote_type }}" value="{{ remote_id }}" />
|
||||
<input type="hidden" name="delete_fixed_price_next_plan" value="true" />
|
||||
<button type="submit" class="delete-next-fixed-price-plan-button">Delete configured fixed price next plan</button>
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
@@ -63,6 +63,8 @@
|
||||
{% set plan_data = support_data[remote_realm.id].plan_data %}
|
||||
{% set format_discount = format_discount %}
|
||||
{% set dollar_amount = dollar_amount %}
|
||||
{% set remote_id = remote_realm.id %}
|
||||
{% set remote_type = "remote_realm_id" %}
|
||||
{% include 'corporate/support/next_plan_details.html' %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
||||
@@ -103,6 +103,8 @@
|
||||
{% set plan_data = remote_servers_support_data[remote_server.id].plan_data %}
|
||||
{% set format_discount = format_discount %}
|
||||
{% set dollar_amount = dollar_amount %}
|
||||
{% set remote_id = remote_server.id %}
|
||||
{% set remote_type = "remote_server_id" %}
|
||||
{% include 'corporate/support/next_plan_details.html' %}
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user