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>
34 lines
2.1 KiB
Markdown
34 lines
2.1 KiB
Markdown
# Aktualia.com.pl Registration
|
||
|
||
## Project
|
||
Legacy PHP/Smarty registration form at `/_rejestracja/` for Aktualia conference registration.
|
||
|
||
## Current Request
|
||
Update the public registration form according to:
|
||
`D:/temp/pomysloweprezenty.pl/Rejestracja na XXXV Konferencję poprawki.docx`
|
||
|
||
The changes must be persisted in the database and visible in the administrator panel.
|
||
|
||
## Constraints
|
||
- Keep the existing legacy PHP/Smarty architecture.
|
||
- Avoid broad refactors outside the registration flow.
|
||
- Preserve existing pricing/admin content management behavior unless explicitly changed by the plan.
|
||
- Treat database schema changes as deployment-critical and document them in SQL.
|
||
|
||
## 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 1–5 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-27 after Phase 3*
|