In_standard_filter how to hide left employees


I hope someone can help me with this problem.

In the Timesheet page, I have the standard filter set as I need them, meaning I have the employee linked to the Employee DocType to fetch the name, but is there any way (maybe a custom script) to show only the active employees and hide the ones that left?