-
Mahmoud Aglan authored
All trainer attendance records are stored as subject_type=User::class with subject_id=user.id (via GenerateTrainerAttendance listener). Multiple places were querying the wrong type ('trainer', 'staff', or Trainer::class), returning zero results. Fixed: ReportService, GenerateTrainerCompensation, Dashboard, TrainerShow. Added trainer self-attendance section to TrainerDashboard with rate, breakdown, and recent records. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
0cfe5e09
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| trainer-dashboard.blade.php |