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

#### TRR-021 | Editing a submitted or published course
**Source:** A-p.11–13 (notes 18-10-2026) · **Actor:** trainer, training center, admin
- Edit rights depend on the course status and on whether there are confirmed enrollments; the "Edit"
  button must not offer the same rights in every status.

| Course status | What the owner can do |
|---|---|
| Under review | View data and follow the result; **no edits** during review. |
| Rejected | Edit and resubmit; the rejection reason is shown clearly. |
| Published | **Request** edits to substantive data, reviewed again by the admin. |
| Completed | View only. |
| Cancelled | View data and history; no direct republishing. |

- **Two kinds of edit:**
  - **Substantive:** name · description · price · category · number of sessions · seats (and learning
    points, TRR-014). These go back to review; the **current published version stays visible** until
    the admin decides.
  - **Operational:** e.g. updating the current external session link — no new approval (part of running
    the course, not redefining it).
- **Rules:**
  - A rejected course can be edited and resubmitted; it becomes **Under review**.
  - Substantive edits to a published course need admin approval before they apply; trainees keep
    seeing the approved version meanwhile; if the admin rejects the edits, the previous published
    version continues unchanged.
  - The trainer can update the external course's current session link without review.
  - **Seats cannot be reduced below the number of confirmed enrollments.**
  - A price change does **not** affect enrollments already paid and confirmed; the new price applies to
    new enrollments after the change is approved.
  - **Decided (DEC-34):** the price can be changed only until the course's **first confirmed
    enrollment**; after that it is locked. The discount can still be changed (reviewed with the course).
  - **Course type cannot change** (in-person ↔ external) once there are confirmed enrollments.
- **Exceptions:** price change with enrollees — see above · date change with enrollees — must be a
  **controlled change with enrollee notification**, never silent · hall change — a new external hall
  cannot be chosen before its booking is confirmed, and the old booking is handled per its rules ·
  admin rejects the edit of a published course — the previous version stays.
- How a date change is approved (review vs direct) and how it relates to the main BRD's "substantive
  edits go through the admin" is open (DEC-10).

**Acceptance, rules and screen notes citing TRR-021:**

- WF-04 — Editing a published course — Owner requests substantive edit → admin compares current vs new → approve (new version live) / reject (old version stays); operational edits (session link) apply directly — TRR-021, TRR-027, ADM-028
- BR-CRS-06 — Substantive edits to a published course are reviewed while the approved version stays live; operational edits apply directly (D2). — TRR-021, ADM-028
- BR-CRS-07 — Seats cannot drop below confirmed enrollments; type cannot change once there are confirmed enrollments; the price is locked after the first confirmed enrollment (DEC-34). — TRR-021, ADM-028
- BR-ENR-05 — Price, package content and offer data are snapshotted at purchase; later edits never rewrite history. — TRR-016, TRR-021, ADM-036
