Fix EnrollExistingWizard: wrong service signature and phantom fee_amount column
- enrollInProgram() was called with an array but expects (Participant, TrainingProgram, User, options[]) — would crash at runtime
- View referenced $program->fee_amount which doesn't exist on TrainingProgram (prices live in base_prices table) — fees never displayed
- Added #[Computed] selectedProgramFee() to resolve price from base_prices
- Updated view to use computed property and inline BasePrice query for program list
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
Please register or sign in to comment