Possibly related to Issue #201 - Error showing when creating an Agent (as a Broker):
Broker is set to 50% commission.
Create new Agent that is set to receive 10% Commission.
Error displays that they would be getting more commission than total for company.
If we are setting the rate to be a percentage of the Broker's commission (i.e. 10% would strictly be 10% of what the Broker is getting), then that error should never occur unless they set the Agent's rate to above 100%. At 100%, they would be getting 100% of what the Broker is getting (their 50% of total).
Even if you set the rate lower (to 5% or 1%), the error always occurs, making it impossible to create a new Agent.
Possibly related to Issue #201 - Error showing when creating an Agent (as a Broker):
Broker is set to 50% commission. Create new Agent that is set to receive 10% Commission. Error displays that they would be getting more commission than total for company.
If we are setting the rate to be a percentage of the Broker's commission (i.e. 10% would strictly be 10% of what the Broker is getting), then that error should never occur unless they set the Agent's rate to above 100%. At 100%, they would be getting 100% of what the Broker is getting (their 50% of total).
Even if you set the rate lower (to 5% or 1%), the error always occurs, making it impossible to create a new Agent.