Files
hats-app/app
Ichsan Kurniawan 83330418bc Add 'Promote to Project' flow for assignments
Introduce a promote-to-project workflow and related UI/logic changes.

Key changes:
- Add Promote button/link in AssignmentDetail, AssignmentGrid, and AssignmentList to open the ProjectAssignmentForm in promote mode.
- Propagate isPromote flag through pages and ProjectAssignmentForm: lock type to Project, prevent selecting IM, adjust headings/labels, and show badges.
- When promoting, set payload fields (project_id, im_id) accordingly and POST to create a Project from an existing IM.
- Autofill project/work-order fields from existing project selection and fetch WO sequence when project selected.
- Update validation messages, toasts, and minor UI/text sizing tweaks.
- Update UpdateAdministrationStatus to read/write notes (project_assignment_status_notes) and use it as initial remark.
- Extend IProjectAssignment type with im_id and project_assignment_status_notes.
- Remove .env.production.local (deleted).

Files changed: multiple components under app/(dashboard)/task and type.assignment.ts (see diff).
2026-10-12 18:41:10 +07:00
..
2025-12-23 18:49:34 +07:00
2026-02-09 16:22:14 +07:00
2025-12-19 13:57:55 +07:00
2025-12-19 13:57:55 +07:00
2025-12-19 13:57:55 +07:00
2025-12-19 13:57:55 +07:00
2026-02-09 16:22:14 +07:00
2026-02-09 16:22:14 +07:00