mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
billing: Check for min license count in frontend.
This commit is contained in:
parent
331984c322
commit
eebf526657
@ -258,3 +258,12 @@
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
input[type="number"]::-webkit-outer-spin-button,
|
||||
input[type="number"]::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
input[type="number"] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
@ -116,9 +116,7 @@
|
||||
</p>
|
||||
|
||||
<h4>Number of licenses (minimum {{ seat_count }})</h4>
|
||||
<input pattern="\d*" oninvalid="this.setCustomValidity('Invalid input')"
|
||||
oninput="this.setCustomValidity('')" type="text"
|
||||
autocomplete="off" id="manual_license_count" required/><br>
|
||||
<input type="number" min="{{ seat_count }}" autocomplete="off" id="manual_license_count" required/><br>
|
||||
</div>
|
||||
|
||||
<div id="license-mix-section">
|
||||
@ -129,9 +127,7 @@
|
||||
period.
|
||||
</p>
|
||||
<h4>Number of licenses (minimum {{ seat_count }})</h4>
|
||||
<input pattern="\d*" oninvalid="this.setCustomValidity('Invalid input')"
|
||||
oninput="this.setCustomValidity('')" type="text"
|
||||
autocomplete="off" id="mix_license_count" required/><br>
|
||||
<input type="number" min="{{ seat_count }}"autocomplete="off" id="mix_license_count" required/><br>
|
||||
</div>
|
||||
|
||||
<button id="add-card-button" class="stripe-button-el">
|
||||
@ -184,8 +180,7 @@
|
||||
ACH transfer or credit card.
|
||||
</p>
|
||||
<h4>Number of users (minimum {{ min_invoiced_licenses }})</h4>
|
||||
<input pattern="\d*" oninvalid="this.setCustomValidity('Invalid input')"
|
||||
oninput="this.setCustomValidity('')" type="text" autocomplete="off"
|
||||
<input type="number" min="{{ min_invoiced_licenses }}" autocomplete="off"
|
||||
id="invoiced_seat_count" name="invoiced_seat_count" required/><br>
|
||||
<button type="submit" id="invoice-button" class="stripe-button-el invoice-button">Buy Standard</button>
|
||||
</form>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user