Why can’t I remove an Employer Loan from a payslip until the balance is settled?

This is to avoid human error, where an Employer Loan with a non-zero positive balance is mistakenly removed. Based on feedback received from our customers, we improved this functionality to ensure that it's not too simple to accidentally remove an Employer Loan. Also, it caused discrepancies in reporting because removing the Employer Loan item does not delete its history from the system or reports. Finally, the item cannot be restored once it has been removed. Therefore, we made a change to allow only zero balance items to be removed.