{% load static %}
{% block extra_css %}{% endblock %}
{% if user.is_authenticated %}
SmartHR MS
Dashboard
{% if user.employee.role != 'REG' %}
Time Management
Request Overtime
Request Leave
{% if user.employee.role == 'HR' or user.employee.role == 'FIN' %}
My Overtime History
{% endif %}
{% endif %} {% if user.employee.role == 'HR' %}
HR Management
Add Employee
Manage Employees
Overtime Approval
Leave Approval
{% endif %} {% if user.employee.role == 'REG' %}
Final Approval
Overtime Approval
Leave Approval
{% endif %} {% if user.employee.role == 'FIN' %}
Finance
Process Overtime
Payment History
{% endif %}
{% endif %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% block content %}{% endblock %}
{% if user.is_authenticated %}
{% endif %} {% block extra_js %}{% endblock %}