• Mahmoud Aglan's avatar
    Redesign all entity creation flows into integrated workflows · c000ea07
    Mahmoud Aglan authored
    - CreateTrainerWizard: 9-step flow with activities, user account creation,
      and initial group assignment (was 6 disconnected steps)
    - CreateProgramWizard: 7-step flow with head trainer, schedule template,
      initial group, BasePrice record, facility (was 4 steps, no group/trainer)
    - NewRegistrationWizard: add parent account creation step so guardians
      can log in to the Parent Portal immediately
    - UserForm: role-aware prompts — assigning trainer role creates
      Trainer+Employee records, parent role links Guardian, staff creates Employee
    - EnrollmentForm: 3-panel guided experience with group cards, capacity bars,
      live price preview from PricingService, and schedule conflict detection
    - TrainerCredentialsGenerated event for async email delivery
    
    Closes the "isolated CRUD screens" problem — every entity creation now
    handles the full business workflow in a single transaction.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    c000ea07
EnrollmentForm.php 14.4 KB