{% extends "base.html" %} {% load static %} {% block title %}Approve Time Entry | HR Management{% endblock %} {% block css %} {% endblock %} {% block content %}

Approve Time Entry

Time Entry Approval

{{ time_entry.employee.get_full_name }}

{{ time_entry.employee.get_full_name }}

{{ time_entry.employee.job_title }}

{% if time_entry.employee.department %} {{ time_entry.employee.department.name }} {% else %} No Department {% endif %}

Pending Approval
Time Details
Date: {{ time_entry.date|date:"F d, Y" }}
Start Time: {{ time_entry.start_time|time:"H:i" }}
End Time: {{ time_entry.end_time|time:"H:i" }}
Total Hours: {{ time_entry.hours }} {% if time_entry.is_overtime %} Overtime {% endif %}
Type: {% if time_entry.is_overtime %} Overtime {% else %} Regular {% endif %}
Location: {{ time_entry.location|default:"Not specified" }}
Break Duration: {{ time_entry.break_duration|default:"0" }} minutes
Created: {{ time_entry.created_at|date:"F d, Y H:i" }}
{% if time_entry.description %}
Description

{{ time_entry.description|linebreaks }}

{% endif %}
Approval Decision
{% csrf_token %} {% if form.errors %}
Please correct the errors below:
    {% for field in form %} {% for error in field.errors %}
  • {{ field.label }}: {{ error }}
  • {% endfor %} {% endfor %} {% for error in form.non_field_errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
Optional notes for the approval
Back to Details
Time Summary
Current Week
Regular Hours: {{ weekly_regular_hours|default:"0" }}
Overtime Hours: {{ weekly_overtime_hours|default:"0" }}
Total Hours: {{ weekly_total_hours|default:"0" }}
Current Month
Regular Hours: {{ monthly_regular_hours|default:"0" }}
Overtime Hours: {{ monthly_overtime_hours|default:"0" }}
Total Hours: {{ monthly_total_hours|default:"0" }}
Approval Guidelines
  • Verify that the hours reported are accurate
  • Check for any scheduling conflicts
  • Ensure overtime was properly authorized
  • Confirm the work description matches the time reported
  • Review the employee's time summary for the week
  • Provide clear reasons if rejecting the time entry
Recent Time Entries
{% endblock %} {% block js %} {% endblock %}