Progressive Commission


Criteria NameAmount FromAmount ToPercentage
Criteria one0200002%
Criteria two20001400004%
Criteria three40001600005%
Criteria four >=6000110%

Scenario 1:

Assume if the total amount is 30000. Then the progressive commission is calculated as following.

So the amount is 30000 and it lies under criteria name Criteria two.First the commission is calculated for Criteria one
then commission is calculated for Criteria two. and total commission is the sum of both commissions. Commission is
calculated for Criteria one on ‘To’ field.

For Criteria one : 2% of 20000 = 400

For Criteria two : 4% of Total amount (30000) = 1200

Total Commission : 400 + 1200 = 1600

Scenario 2:

Assume if the total amount is 70000. Then the progressive commission is calculated as following.

So the amount is 70000 and it lies under Criteria four. So First the commission is calculated for Criteria one then calculated
for Criteria two.then commission is calculated for Criteria three then calculated for Criteria four. and total commission is
the sum of all commissions.Commission is calculated for all criteria on ‘Amount To’ field.

for Criteria four the commission will calculate on the total amount which you have.

For Criteria one : 2% of 20000 = 400

For Criteria two : 4% of 40000 = 1600

For Criteria three : 5% of 60000 = 3000

For Criteria four : 10% of 70000 = 7000

Total Commission : 400 + 1600 + 3000 +7000 = 12000

PHP Code Snippets Powered By : XYZScripts.com