Adding plans after 10_plan in CDR fails with the error message "Error in adding new plan." There is more detail in the JavaScript console "Plan Already in list_options".
10_plan is considered to be lower than 9_plan because of the way the SQL query is written in generatePlanID(). And since the last 10_plan already exists it gives that error.
To Reproduce
Steps to reproduce the behavior:
From Admin -> Practice -> Rules
Plan -> Go
Create 10 new custom plans
Additional plan creation fails with the error
Expected behavior
It should be possible to create as many plans as possible.
Describe the bug
Adding plans after 10_plan in CDR fails with the error message "Error in adding new plan." There is more detail in the JavaScript console "Plan Already in list_options". 10_plan is considered to be lower than 9_plan because of the way the SQL query is written in generatePlanID(). And since the last 10_plan already exists it gives that error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be possible to create as many plans as possible.
Client configuration