<!-- generated by php artisan docs:split-brd from brd/BRD-Morvia-Project-Guide-en.md — edit the BRD, not this file -->

#### CTR-005 | Add an affiliated trainer
**Source:** p.57–60 · **Actor:** center
- **Built as (TD-38):** the first password is generated by the server and returned once to the center in `POST /center/trainers`; "resend login instructions" issues a new one. Nothing is sent by SMS or email while DEC-14 is open.
- **Purpose:** create the **basic account** of an affiliated trainer. The center does not enter the
  trainer's full professional profile: it creates the account and links it to the center; the trainer
  completes the professional data (TRR-004).
- **Basic data:** full name · mobile · email · city. **Link information:** center name (automatic, not
  editable) · trainer type "center-affiliated" (automatic).

| Field | Type | Required |
|---|---|---|
| Full name | text | Yes |
| Mobile number | mobile | Yes |
| Email | email | Yes |
| City | selection | Yes |
| Center | automatic | Yes |
| Trainer type | automatic | Yes |

- **Rules:** the center never creates an independent trainer; the account type is fixed as
  center-affiliated; the linked center is the creating center; the center cannot move the trainer to
  another center; the trainer does not choose a monthly/annual package or commission; the center does
  **not** enter the CV, qualifications, training licence, IBAN or detailed professional data — the
  trainer completes these on first login.
- **Success screen:** trainer name · mobile · email · account status "Profile incomplete" · message that
  the trainer must log in from the app to complete the data. Actions: view trainer · add another ·
  back to list.
- **System behaviour:** create a new user · set user type = center-affiliated trainer · link the user to
  the center · set profile status = incomplete · the account becomes available for the trainer to log
  in · optionally send a notification / message with login instructions through the approved channel.
- **Login instructions message:** account-created notice · instructions to log in to the app · the login
  method (**username** and **password**) · request to complete the profile.
- How the initial password is generated and delivered is open (DEC-14).

**Acceptance, rules and screen notes citing CTR-005:**

- WF-08 — Training center onboarding — External contract → admin creates center → activation → center logs in → creates affiliated trainers → trainer logs in and completes profile — ADM-010, ADM-012, CTR-001, CTR-005, TRR-004
- BR-ACC-01 — Trainee registration is free; independent trainers self-register and need admin approval; affiliated trainers, centers, hall providers and admin users never self-register. — TRN-002, TRR-002, CTR-005, ADM-010, ADM-015, ADM-049
- BR-CTR-04 — The center creates its affiliated trainers' accounts; an affiliated trainer never registers as independent. — CTR-005, TRR-001
- BR-CTR-05 — The affiliated trainer completes their professional data themselves in the app. — TRR-004, CTR-005
- BR-CTR-06 — The affiliated trainer is exempt from the individual subscription; the center manages no per-trainer financial subscription. — TRR-005, CTR-005
- BR-CTR-08 — Each affiliated trainer belongs to one center at a time; changing that link is done by the platform admin. — CTR-005, ADM-008
