{% extends 'base.html' %} {% block title %}Staff Details - {{ staff.name }}{% endblock %} {% block styles %} {% endblock %} {% block content %}

Staff Details

View and manage staff information

{{ staff.name[:1] }}

{{ staff.name }}

{{ staff.role|title }}
Contact Information

Email: {{ staff.email }}

Phone: {{ staff.phone }}

Restaurant: {{ staff.restaurant }}

Current Month Statistics
Attendance Rate

{{ staff.current_month_stats.attendance_rate }}%

Punctuality Rate

{{ staff.current_month_stats.punctuality_rate }}%

Late Days

{{ staff.current_month_stats.late_days }}

Absent Days

{{ staff.current_month_stats.absent_days }}

Recent Attendance
{% for record in staff.recent_attendance %} {% endfor %}
Date Clock In Clock Out Status Notes
{{ record.date.strftime('%Y-%m-%d') }} {{ record.clock_in.strftime('%H:%M') if record.clock_in else '-' }} {{ record.clock_out.strftime('%H:%M') if record.clock_out else '-' }} {{ record.status|title }} {{ record.notes or '-' }}
Performance History
{% for record in staff.performance_history %} {% endfor %}
Review Period Attendance Rate Punctuality Rate Notes
{{ record.review_period }} {{ record.attendance_rate }}% {{ record.punctuality_rate }}% {{ record.notes or '-' }}
{% endblock %}