When you press "Calculate", the system runs these steps in this order for each employee:
| Step | Calculation | Explanation |
|---|---|---|
| 1 | Basic pay | Taken from the salary structure in force for the period, reduced pro-rata to days worked if needed. |
| 2 | Fixed and percent-of-basic earnings | Allowances that are a fixed amount or a percentage of basic pay. |
| 3 | Overtime | Based on overtime hours recorded in attendance and the shift hourly rate. |
| 4 | Percent-of-gross earnings | The second calculation pass. These cannot be calculated until all other earnings are known, because they are based on the gross. |
| 5 | Deductions | Including the unpaid-leave deduction (at one working day’s rate). |
| 6 | Loan deduction | The instalment on the employee’s active loans. |
| 7 | Tax | Last. Based on taxable income, which requires all prior lines to be known. |
Key point about the loan deduction The loan deduction reduces net pay but does not reduce taxable income. The logic is simple: repaying a loan is not a pay cut — the employee received the full salary and paid part of it back. So tax is calculated on their full salary.