{% extends 'base.html' %} {% load static %} {% block title %}Delete Donor - {{ donor.full_name }}{% endblock %} {% block content %}

Delete Donor {{ donor.full_name }}

Confirm Donor Deletion

Warning

You are about to permanently delete this donor record. This action cannot be undone.

Donor Information
Donor ID: {{ donor.donor_id }}
Name: {{ donor.full_name }}
Blood Group: {{ donor.blood_group.display_name }}
Phone: {{ donor.phone }}
Registration Date: {{ donor.registration_date|date:"M d, Y" }}
Status: {{ donor.get_status_display }}
Impact Assessment
Related Records
  • {{ donor.total_donations }} blood unit(s) collected
  • {{ donor.blood_units.count }} blood unit record(s)
  • {% if donor.blood_units.filter(status='available').exists %}
  • Has active blood units in inventory
  • {% endif %}
{% if donor.blood_units.filter(status='available').exists %}
Active Blood Units

This donor has blood units currently available in inventory. Deleting this donor will affect inventory tracking.

{% endif %} {% if donor.total_donations > 0 %}
Donation History

This donor has a donation history. Consider marking as "inactive" instead of deleting to preserve historical data.

{% endif %}
Deletion Options
{% csrf_token %}
Keep anonymized donation records for statistical purposes
Alternative Actions

Consider these alternatives to permanent deletion:

Preserves historical data while preventing new donations
Correct any data errors without deletion
{% endblock %} {% block js %} {% endblock %}