Backlog: generatePDF optional user contact fields
TL;DR
Relax validation for three user-contact fields on generatePDF in CMS so Legal/Sales workflows are not blocked when those contacts are unavailable.
Description
- Requester: Mr. Hendra (frontend; same delivery team).
- Context: CMS Legal tool — PDF generation (
generatePDF).
- Change: Stop treating these as mandatory (
required/validation): user_primary_contact, user_billing_contact, user_billing_contact_1.
- Inbound reference: migrated from inbox capture
CMS generatePDF remove mandatory user contact fields (Hendra).md.
Acceptance Criteria
- [ ] Those three fields no longer fail validation when omitted on the PDF path that uses them
- [ ] Regression check on PDF output when contacts are absent vs populated
- [ ] Stakeholder sign-off via Legal/BU lane as needed
Priority
- Priority: p2
- Rationale: Narrow validation change blocking specific workflow; urgency set by BU/Legal acceptance.
Dependencies
- Blocks: —
- Blocked by: —
- Related ADR: —
Links
- Project context: [[Projects/anabatic-contract-management-system/context/index]]
- Company: [[Resources/Companies/Anabatic Digital Raya|Anabatic Digital Raya]]
- Design / Spec:
- Ticket / Issue:
Notes
- Align implementation with CMS validation patterns already used elsewhere on Legal PDF flows.