Apply Leave on behalf of subordinate

Does ERPNext handle the above case ?
B is subordinate of A

B do not know how to apply leave via ERPNext (he/she can be a factory operator who does not familiar with computer).

His/Her supervisor need to apply leave on behalf of him/her.

Can ERPNext handle it ? or need the HR employee to apply for it ?

Thank you