WORKFLOW-APP/app/api
Ysterbaard 42b4b2812b Fix structured-address + onboarding fields not persisting from edit modal
The /api/pb/records/[id] proxy had an allowlist of editable fields that
was written before the 2026-08-18 onboarding field additions. The new
fields were silently dropped before reaching PocketBase, so the modal
appeared to save successfully but the data never landed in PB.

Added to COMPANY_EDIT_FIELDS:
  physical_address_line_1/2, physical_town_city, physical_province,
  physical_postal_code, postal_address_line_1/2, postal_town_city,
  postal_province, postal_postal_code, company_email, company_cell_phone,
  public_officer_name, company_secretary_name, financial_year_end_month,
  authorised_shares

Added to DIRECTOR_EDIT_FIELDS:
  residential_address_line_1/2, residential_town_city, residential_province,
  residential_postal_code, postal_address_line_1/2, postal_town_city,
  postal_province, postal_postal_code, date_of_birth

End-to-end tested via proxy PATCH — fields now land in PB.
2026-08-19 10:20:11 +02:00
..
appointments Add pre-send validation gate + idempotent sign-back to appointment flow 2026-08-18 21:29:08 +02:00
bizportal/search feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
bizportal-2 feat: BizPortal 2.0 — Python Playwright sidecar 2026-08-17 18:33:36 +02:00
companies/list wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
directors/list wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
documents wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
onboarding feat: split company physical and postal addresses into structured fields 2026-08-14 21:00:14 +02:00
pb/records Fix structured-address + onboarding fields not persisting from edit modal 2026-08-19 10:20:11 +02:00
register wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
tasks fix: handle unknown/empty task statuses without crashing 2026-08-17 19:00:42 +02:00