Files
hats-app/app
Ichsan Kurniawan 49f766ad27 Propagate assignment dates to ManageTeam
Pass assignment start/end dates into ManageTeam and enforce them in the UI. Updated components (ClientDetailComponent, AssignmentDetailComponent(.old), WorkOrderCard) to provide startDate/endDate props. Modified ManageTeam signature to accept startDate/endDate, added dayjs import to format displayed dates, and implemented disabledDate logic on the DatePicker controls to prevent selecting dates outside the assignment boundaries (normalizing dates to midnight and checking against assignment and user-selected dates). Also removed a stray console.log in AssignmentDetailComponent.old and adjusted ProjectDetailPage to fetch project assignments via the filtered query string (added a console.log(project) for debugging). Files changed: ClientDetailComponent.tsx, AssignmentDetailComponent.old.tsx, AssignmentDetailComponent.tsx, WorkOrderCard.tsx, page.tsx, ManageTeam.tsx.
2026-05-07 13:42:21 +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