{% extends "base.html" %} {% block title %}User Master{% endblock %} {% block header %}User Master{% endblock %} {% block content %}
| User | Provider | Role | Workforce Group | Employee | CTC | Branch | Landing Page | Actions |
|---|---|---|---|---|---|---|---|---|
|
{{ (u.name[:1] if u.name else 'U')|upper }}
{{ u.name }}
{{ u.email }}
{% if u.is_active %}
Active
{% else %}
Inactive
{% endif %}
|
{% if u.auth_provider == "LOCAL" %} LOCAL {% elif u.auth_provider == "HRMS" %} HRMS {% elif u.auth_provider == "SSO" %} SSO {% else %} {{ u.auth_provider or '—' }} {% endif %} |
{{ u.role.name if u.role else "—" }}
|
{% if u.workforce_group %} {{ u.workforce_group.name }} {% else %} Not Assigned {% endif %} |
{{ u.profile.employee_code if u.profile else "—" }}
{{ u.profile.designation.name if (u.profile and u.profile.designation) else "No designation" }}
{% if u.profile and u.profile.department %}
{{ u.profile.department }}
{% endif %}
{% if u.profile and u.profile.team_role %}
{{ u.profile.team_role }}
{% endif %}
|
{{ indian_amount(u.monthly_ctc or 0) }}
Monthly CTC
|
{% if u.company_branch %}
{{ u.company_branch.company.name }}
{{ u.company_branch.branch_name }}
{% else %}
—
{% endif %}
|
{% if u.default_landing_endpoint %}
{{ selected_landing.group }}
{{ selected_landing.label }}
{% else %}
Auto Decide
{% endif %}
|
Password managed externally.
{% endif %}
|