{% extends 'base.html' %} {% block title %}Delete Employee - HR - Optinet Global Links{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

Delete Employee

Confirm employee deletion

{% include 'hr/hr_nav.html' %}
Confirm Deletion

Are you sure you want to delete the employee "{{ object.full_name }}"?

Employee Details
  • ID: {{ object.employee_id }}
  • Name: {{ object.full_name }}
  • Email: {{ object.email }}
  • Department: {{ object.department.name|default:"N/A" }}
  • Job Title: {{ object.job_title }}
Warning: This will also delete:
  • All payslips ({{ object.payslips.count }})
  • All deductions ({{ object.deductions.count }})
  • All bonuses ({{ object.bonuses.count }})
  • {% if object.user %}
  • Linked user account
  • {% endif %}

This action cannot be undone. Consider changing the employee status to "Terminated" instead of deleting.

{% csrf_token %}
Cancel Edit Instead
{% endblock %}