Employee Login Link
Either link an existing unlinked login user or create a login user automatically for this employee.
{% else %}
Login user linkage can be changed below. The dropdown shows unlinked users from the same audit firm/branch, plus the currently linked user if any. New user creation is available only while creating an employee.
{% set uid = employee.user_id if employee and not is_dict else employee.get('user_id') if employee else None %}
Selecting “No user linked” will keep this employee as HR master only. Employee self-service will not work until linked.
{% endif %}
{% if not is_edit and scope.allow_cross_tenant %}
{% else %}