AAU Club Manager Home

← All help guides

How to delete or restore a trainee

Club Admin · Bahasa Melayu below

AAU Club Manager uses soft-delete for trainees — they're marked inactive but the record + display ID stay in the database. This preserves payment history and prevents ID recycling.

Delete flow (2 steps)

Step 1: Remove from club 1. Sidebar → Trainees → open trainee → Remove from Club 2. Confirm — this deactivates their category enrollments, cancels outstanding invoices, and if they have no other active clubs, deactivates the trainee record.

Step 2 (optional): Full delete 1. Once inactive → open the trainee → Delete Trainee 2. Confirms full soft-delete: is_active=False, invoices cancelled, sessions marked historical.

What survives

What stops

Restore

  1. Sidebar → Trainees → filter Show inactive
  2. Open the trainee → Restore
  3. Trainee reactivates as is_active=True but their category enrollments stay inactive — re-enroll them where needed.

Hard delete (irreversible)

Only via Django admin or database console — not exposed in the UI. Reserved for GDPR right-to-erasure or genuine data cleanup.


Cara padam atau restore pelatih

Soft-delete: pelatih ditanda inaktif, rekod kekal.

Padam (2 langkah)

  1. Trainees → buka pelatih → Remove from Club — deaktif enrollment, batal invois belum bayar
  2. Selepas inaktif → Delete Trainee — soft-delete penuh

Yang kekal

Invois berbayar, kehadiran, penilaian, sijil, kejohanan — semua disimpan untuk audit.

Yang berhenti

Invois baru, peringatan, portal ibu bapa, roster jurulatih.

Restore

  1. Trainees → filter Show inactive
  2. Buka → Restore — aktif semula (enrollment kena buat baru)