If an employee leaves your company, you must enter this in the "Employees" tab. To do this, click on the relevant employee and on the "Employment" tab. There you no longer enter "indefinitely" but enter the leaving date.
As soon as the last working day has passed, you can also download the wage statement for this employee. Go to "Documents" and then to "Download wage statement".