14 Commits

Author SHA1 Message Date
8718aede85 removed useMaster and dispatch from TaskModel after switching to useActivitiesMaster 2025-05-04 11:54:08 +05:30
1bbc8fd422 Conver Int to Guid 2025-05-03 21:43:15 +05:30
Pramod Mahajan
80f2cce931 prevent unnecessary activity master refresh on task form submission 2025-05-03 13:56:21 +05:30
Pramod Mahajan
7d5d262728 normalize activity data to ensure consistent display names. 2025-05-03 12:25:23 +05:30
Pramod Mahajan
80d64c87c6 Improve safety and sorting for building dropdown
- Added optional chaining to safely access project.buildings and prevent errors if undefined.
- Filtered out buildings with invalid or missing 'name' properties.
- Implemented safe sorting using localeCompare, with a fallback to empty string for undefined 'name' values.
- Added fallback message "No buildings found" when there are no valid buildings in the list.
2025-05-03 11:07:57 +05:30
Pramod Mahajan
6496fd7eb2 sorted all dropdown list 2025-05-03 04:40:13 +00:00
Pramod Mahajan
6daf3f8a35 sorted activity list in ascedning order. 2025-05-03 04:40:13 +00:00
Pramod Mahajan
1a98aeb934 added Toast and modal open until not close using button 2025-05-03 04:40:13 +00:00
Pramod Mahajan
a7421eb6dc removed fetchActivity function , activity was needed for projectInfra, that can pass their child component TaskModel. instead of getting activity from ProjectInfra, Now TaskModel can directly calling to useMaster-Activity 2025-04-11 15:26:50 +05:30
Pramod Mahajan
9c0f98dbaf Merge branch 'Feature_Task_Management' of https://git.marcoaiot.com/admin/marco.pms.web into Feature_Task_Management 2025-04-08 16:00:11 +05:30
cee8f23fd9 enhance modal handling by adding onClose prop to TaskModel and WorkAreaModel components 2025-04-08 07:53:03 +00:00
Pramod Mahajan
9e17b74ba4 changed font size and removed console. 2025-04-07 18:44:19 +05:30
Pramod Mahajan
93c95e007a integrated create Task api and handling data caching updated for task. 2025-04-07 17:14:07 +05:30
Pramod Mahajan
ddfbed1020 updated project infra components and added assigntask 2025-04-05 13:10:24 +05:30