feat(03-registration-form-settings): editable form settings, additional info field, codebase map

Phase 3 complete (2 plans):

- 03-01: RegistrationFormSettings helper + admin Ustawienia formularza page; public form and server-side pricing driven by wp_setup/mf_parameters settings; SQL seed + PHP runner for production deployment
- 03-02: Dodatkowe informacje textarea field added to form/DB/confirmations/admin; admin Reg table reversed; codebase map written to .paul/codebase/ (8 docs)

Milestone v0.1 XXXV Konferencja Registration Update — complete.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-27 18:00:34 +02:00
parent 5f23ca9482
commit 508623c642
5 changed files with 191 additions and 24 deletions

View File

@@ -18,12 +18,16 @@ The changes must be persisted in the database and visible in the administrator p
## Validated
- Registration form, persistence, confirmation output, and administrator display were updated for the XXXV conference request - Phase 1.
- New and related registration phrases are dictionary-backed and editable from `/_rejestracja/Admin/Dictionary/Index` after applying the dictionary seed - Phase 2.
- Administrator "Ustawienia formularza" page built; all participation day labels and prices (full conference, surcharges, one-day, VAT) editable without code changes - Phase 3.
- "Dodatkowe informacje" textarea field added to public form, DB, confirmations, and admin view; admin Reg table order reversed - Phase 3.
## Key Decisions
| Date | Decision | Impact |
|------|----------|--------|
| 2026-04-24 | Use stable `registration_*` dictionary keys for registration-specific phrases. | Templates can reuse dictionary labels without depending on raw Polish text as keys. |
| 2026-04-24 | Keep form values, participant persistence, pricing logic, and payment status values unchanged while moving labels to dictionary. | Reduces risk to the completed registration flow. |
| 2026-04-24 | Store day labels as newline-separated text in wp_setup; keep mf_parameters IDs 15 for existing price rows. | Avoids schema changes while exposing editable settings. |
| 2026-04-24 | Public JS gross price computed as net × VAT multiplier (not hardcoded). | Changing VAT rate requires only a settings update, not a code deploy. |
---
*Last updated: 2026-04-24 after Phase 2*
*Last updated: 2026-04-27 after Phase 3*