2.4 KiB
2.4 KiB
APPLY Results: 01-01
Date: 2026-04-24
Completed Tasks
Task 1: Add participant persistence fields and SQL migration
Status: pass
Notes:
- Added new fields/getters/setters/mappings to runtime model
_rejestracja/core/model/MfParticipant.class.php. - Mirrored fields in
_rejestracja/core/_model/MfParticipant.class.phpbecause the plan named_model, but runtime autoload usescore/model. - Added SQL migration
_rejestracja/sql/2026-04-24-registration-form-update.sql. - Added PHP migration runner
_rejestracja/sql/apply-2026-04-24-registration-form-update.php. - Updated
_rejestracja/controller/IndexController.phpto persist participation option, selected days, lodging flag, diet, special diet, and surcharge flags.
Task 2: Update public form, client price logic, and confirmation summary
Status: pass
Notes:
- Added one-day with lodging and one-day without lodging day selections.
- Added hidden canonical participation fields for backend persistence.
- Added dietary preference and special diet text field.
- Added confirmation summary output for participation, days, surcharges, and diet.
Task 3: Update administrator list/detail display and payment edit flow
Status: pass
Notes:
- Added
RegEditActionto_rejestracja/Admin/controller/CalcController.php. - Added new data to admin registration list and detail template.
- Preserved payment status edit flow in
RegEdit.tpl.
Verification
php -l _rejestracja/core/model/MfParticipant.class.php: passphp -l _rejestracja/core/_model/MfParticipant.class.php: passphp -l _rejestracja/controller/IndexController.php: passphp -l _rejestracja/Admin/controller/CalcController.php: passphp -l _rejestracja/sql/apply-2026-04-24-registration-form-update.php: pass
Deviations
- Runtime uses
_rejestracja/core/model, not_rejestracja/core/_model; implementation updated both to keep generated/model copies aligned. - The public template contains legacy mojibake text. New labels were added mostly as ASCII where patching exact legacy-encoded strings was unreliable.
Blocking Checkpoint
Manual verification is still required:
- Apply SQL migration to a staging database using
_rejestracja/sql/apply-2026-04-24-registration-form-update.php?run=20260424or the SQL file. - Submit test registrations for full conference, one day with lodging, and one day without lodging plus special diet.
- Confirm confirmation email/page and admin panel show saved values and prices.