Data Maintenance

System maintenance and data cleanup tools

Duplicate Session Cleanup
Session Data Cleanup
Orphaned Invoice Cleanup
Orphaned Invoice Cleanup
Orphaned User Cleanup
Orphaned User References
Orphaned Conversation Cleanup
Orphaned Conversation References
Mark Overdue Invoices
Backfill Session & Slot Names

Populates the snapshot student/tutor display name on existing sessions and regular slots so archived or inactive people still show by name. Run a dry run first to see counts, then run for real.

Backfill Parent Names on Invoices

Fixes the "Billed To" column where it shows a parent username (e.g. "tlj177") instead of their real name. Re-resolves the snapshot from each parent's display name. Already-correct names are preserved; only username/blank values are replaced with a real name.

Invoice Archival

Generate PDF snapshots of old paid invoices, verify them, then permanently delete the records. Archive and delete are strictly separated.

Open Archival Manager