Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

billing: Modify next payment info.

Aman Agrawal68a117d49030
diff --git a/templates/corporate/billing.html b/templates/corporate/billing.html
index 35aff9ea82f..eedfcc71e95 100644
--- a/templates/corporate/billing.html
+++ b/templates/corporate/billing.html
@@ -82,7 +82,7 @@
</div>
{% endif %}
</div>
- <p>
+ <div class="next-payment-info not-editable-realm-field">
{% if renewal_amount %}
{% if free_trial %}
Your plan will be upgraded to <strong>{{ plan_name }}</strong> on <strong>{{ renewal_date }}</strong> for
@@ -92,13 +92,18 @@
{% elif switch_to_annual_at_end_of_cycle %}
Your plan will be switched from monthly to annual billing on <strong>{{ renewal_date }}</strong>.
{% else %}
- Your plan will renew on <strong>{{ renewal_date }}</strong> for
- <strong>${{ renewal_amount }}</strong>.
+ {% if charge_automatically %}
+ Your plan will automatically renew on <strong>{{ renewal_date }}</strong>.
+ {% else %}
+ Your next invoice is due on <strong>{{ renewal_date }}</strong>.
+ {% endif %}
+ <br />
+ Expected charge: <strong>${{ renewal_amount }}</strong>.
{% endif %}
{% else %}
Your plan ends on <strong>{{ renewal_date }}</strong>, and does not renew.
{% endif %}
- </p>
+ </div>
</div>
<div id="payment-method">
<div id="cardchange-error" class="alert alert-danger"></div>