{% extends "base.html" %} {% block content %}

Location Access Mapping

Select employee → assign locations → that employee can view reports for those locations.
Employees: {{ total_employees }} Mapped: {{ mapped_employees }} Page {{ page }} / {{ total_pages }}
Tip: type to search. Empty selection = user will only see their own data (unless Admin/HR).
Current Location Access
Edit or clear employee mappings
{% if access_rows and access_rows|length > 0 %} {% for r in access_rows %} {% endfor %} {% else %} {% endif %}
# Employee Emp Code Locations Updated Actions
{{ ((page-1)*per_page) + loop.index }} {{ r.full_name }} {{ r.employee_code }} {% if r.institutes %} {{ r.institutes }} {% else %} — {% endif %} {% if r.updated_at %} {{ r.updated_at.strftime('%d %b %Y %I:%M %p') }} {% else %} — {% endif %} Edit
No employees found for this filter.
{% endblock %}