Update calculation for seats owed in Add Seats flow
Problem
When adding new seats, gitlab-org/customers-gitlab-com!4554 introduced a feature to display a minimum number. However, an incorrect calculation was introduced, that does not provide seats owed
(<code data-sourcepos="11:199-11:212">billable users</code> - <code data-sourcepos="11:218-11:229">seats in use</code>).
What this flow shows is not Seats Owed
but something else than needs to be named -- TBD
= seats in use
- seats in the subscription
Proposal
Update the calculation to reflect the seats owed
(i.e., the max value between 0
and billable users
- max users
).
Result
Update the minimum number of seats to be purchased in the Add seats Flow.
Next steps (if any)
How will we measure success?
Edited by Angelo Gulina