{% extends "base.html" %} {% block content %}
| Employee | Code | Department | Due Date | Action |
|---|---|---|---|---|
| {{ r.emp.full_name }} | {{ r.emp.employee_code }} | {{ r.dept.name if r.dept else '-' }} | {{ r.due_date.strftime('%d-%b-%Y') }} | Initiate |
| No employees due this month. | ||||
| Employee | Process | Status | Effective Month | Action |
|---|---|---|---|---|
| No records found. | ||||
|
{{ e.full_name if e else a.employee_id }}
{% if e %}
{{ e.employee_code }}
{% endif %}
|
{% if a.process_type == 'P1' %}P1 (Emp + Mgr) {% elif a.process_type == 'P2' %}P2 (Mgr) {% else %}P3 (Direct){% endif %} | {% if s == 'awaiting_employee' %} Pending for Employee {% elif s == 'awaiting_manager' %} Pending for Manager {% elif s == 'scored' %} Scored (HR Pending) {% elif s == 'hr_finalized' %} HR Finalized {% elif s == 'applied' %} Applied {% elif s == 'cancelled' %} Cancelled {% else %} {{ a.status }} {% endif %} | {{ a.effective_month.strftime('%b-%Y') }} | {% if s == 'awaiting_employee' and a.employee_id == current_user.id %} Fill Appraisal {% elif s == 'awaiting_manager' and a.manager_id == current_user.id %} Fill Review {% elif is_hr_admin and (s in ['scored','initiated','hr_finalized']) %} HR Finalize {% else %} View {% endif %} |