When you export the list of employees and filter for former employees, add the option of reason for terminating the contract.