{% extends "base.html" %} {% load static %} {% block title %} Delete Training Record | HR Management {% endblock %} {% block css %} {% endblock %} {% block content %}

Delete Training Record

Confirm Deletion

Warning: This action cannot be undone

You are about to permanently delete this training record. This action cannot be reversed. Please review the information below carefully before proceeding.

Training Record Information
Title:
{{ record.title }}
Employee:
{{ record.employee.get_full_name }}
Training Type:
{{ record.get_training_type_display }}
Provider:
{{ record.provider }}
Status:
{{ record.get_status_display }} {% if record.is_mandatory %} Mandatory {% endif %} {% if record.is_certified %} Certified {% endif %}
Date Range:
{{ record.start_date|date:"M d, Y" }} to {{ record.end_date|date:"M d, Y" }}
{% if record.completion_date %}
Completion Date:
{{ record.completion_date|date:"M d, Y" }}
{% endif %} {% if record.is_certified and record.expiration_date %}
Expiration Date:
{{ record.expiration_date|date:"M d, Y" }}
{% endif %}
Impact Assessment
The following will be permanently deleted:
  • Training record details and metadata
  • {% if record.description %}
  • Training description and learning objectives
  • {% endif %} {% if record.completion_date %}
  • Completion details and notes
  • {% endif %} {% if certificates %}
  • {{ certificates|length }} certificate file(s)
  • {% endif %} {% if attachments %}
  • {{ attachments|length }} attachment file(s)
  • {% endif %} {% if record.notes %}
  • Additional notes and comments
  • {% endif %}
{% if record.is_mandatory and record.status == 'COMPLETED' %}
Warning: This is a completed mandatory training record. Deleting it may affect compliance reporting and regulatory requirements.
{% endif %} {% if record.is_certified and record.status != 'EXPIRED' %}
Caution: This record contains active certification information. Deleting it will remove all evidence of certification.
{% endif %}
Consider Alternative Actions

Instead of deleting this record, you might want to consider:

{% if record.status != 'EXPIRED' %} {% endif %}
{% csrf_token %} {% if record.status == 'COMPLETED' %}
Please provide a reason for deleting this completed training record.
{% endif %}
Cancel
Employee Information
{% if record.employee.profile_picture %} {{ record.employee.get_full_name }} {% else %}
{{ record.employee.get_initials }}
{% endif %}
{{ record.employee.get_full_name }}

{{ record.employee.job_title }}

Department:
{{ record.employee.department.name }}
Employee ID:
{{ record.employee.employee_id }}
Email:
{{ record.employee.email }}
View Employee Profile
Training Statistics
Total Trainings: {{ employee_training_count }}
Completed Trainings: {{ employee_completed_count }}
In Progress Trainings: {{ employee_in_progress_count }}
Mandatory Trainings: {{ employee_mandatory_count }}
Certifications: {{ employee_certified_count }}
Deleting this record will affect these statistics.
{% endblock %} {% block js %} {% endblock %}