When refusing leave, we can not remove linked timesheet, since they are attached to the leave. We need to first detach it, then remove the timesheet entries. Also, add a test about the removal of linked timesheets.
When refusing leave, we can not remove linked timesheet, since they are attached to the leave. We need to first detach it, then remove the timesheet entries. Also, add a test about the removal of linked timesheets.