Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E
El-Captain Sports Management
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Administrator
  • El-Captain Sports Management
  • Repository

Switch branch/tag
  • el-captain-sports-management
  • app
  • Livewire
  • Receptionist
  • EnrollExistingWizard.php
Find file
BlameHistoryPermalink
  • Mahmoud Aglan's avatar
    Fix EnrollExistingWizard: wrong service signature and phantom fee_amount column · 871df007
    Mahmoud Aglan authored Jul 01, 2026
    - 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: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    871df007
EnrollExistingWizard.php 7.15 KB
EditWeb IDE

Replace EnrollExistingWizard.php

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.