-
Mahmoud Aglan authored
The old code tried to find 'system@oc-sport.com' then fell back to User::first() which silently attributed 222 invoices to a random Head Trainer. Now uses enrollment.created_by as the actor — if that user no longer exists, the invoice is skipped with an error log. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
da344cda