From 27cf6f2703c2bad15a97381891af45b00e23e1dd Mon Sep 17 00:00:00 2001 From: "kartik.sharma" Date: Fri, 16 May 2025 09:51:36 +0530 Subject: [PATCH 1/3] Modified Manage task popup from project > project list. Change name planned to completed/planned and completed to Today`s planned. --- src/components/Project/Infrastructure/EditActivityModal.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Project/Infrastructure/EditActivityModal.jsx b/src/components/Project/Infrastructure/EditActivityModal.jsx index e539df96..916e1395 100644 --- a/src/components/Project/Infrastructure/EditActivityModal.jsx +++ b/src/components/Project/Infrastructure/EditActivityModal.jsx @@ -335,7 +335,7 @@ const EditActivityModal = ({ {/* {ISselectedActivity && ( */}
Date: Fri, 16 May 2025 17:14:43 +0530 Subject: [PATCH 2/3] Update the Project List component column names: 1.Change 'Planned' to 'Completed/Planned' 2.Change 'Completed' to 'Today's Planned --- src/components/Project/Infrastructure/EditActivityModal.jsx | 4 ++-- src/components/Project/Infrastructure/WorkArea.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Project/Infrastructure/EditActivityModal.jsx b/src/components/Project/Infrastructure/EditActivityModal.jsx index 916e1395..e539df96 100644 --- a/src/components/Project/Infrastructure/EditActivityModal.jsx +++ b/src/components/Project/Infrastructure/EditActivityModal.jsx @@ -335,7 +335,7 @@ const EditActivityModal = ({ {/* {ISselectedActivity && ( */}
{ Category - Planned + Completed/Planned - Completed + Today's Planned Progress From 48f013edd592bd48fcff905741d5931d0717afb5 Mon Sep 17 00:00:00 2001 From: "kartik.sharma" Date: Sat, 17 May 2025 14:45:35 +0530 Subject: [PATCH 3/3] On the Infrastructure tab, the Planned and Completed columns have been merged, and their data is now shown as '2/3'. --- .../Project/Infrastructure/WorkArea.jsx | 3 -- .../Project/Infrastructure/WorkItem.jsx | 36 ++++++++----------- 2 files changed, 15 insertions(+), 24 deletions(-) diff --git a/src/components/Project/Infrastructure/WorkArea.jsx b/src/components/Project/Infrastructure/WorkArea.jsx index 05f16089..cbe34dc5 100644 --- a/src/components/Project/Infrastructure/WorkArea.jsx +++ b/src/components/Project/Infrastructure/WorkArea.jsx @@ -186,9 +186,6 @@ const WorkArea = ({ workArea, floor, forBuilding }) => { Completed/Planned - - Today's Planned - Progress diff --git a/src/components/Project/Infrastructure/WorkItem.jsx b/src/components/Project/Infrastructure/WorkItem.jsx index 6cf17687..9a694729 100644 --- a/src/components/Project/Infrastructure/WorkItem.jsx +++ b/src/components/Project/Infrastructure/WorkItem.jsx @@ -148,7 +148,7 @@ const WorkItem = ({ {hasWorkItem ? NewWorkItem?.workItem?.activityMaster?.activityName || - workItem.activityMaster?.activityName + workItem.activityMaster?.activityName : "NA"} @@ -157,8 +157,8 @@ const WorkItem = ({ {hasWorkItem ? NewWorkItem?.workItem?.completedWork ?? - workItem?.completedWork ?? - "NA" + workItem?.completedWork ?? + "NA" : "NA"} /{" "} {hasWorkItem @@ -171,28 +171,22 @@ const WorkItem = ({ {hasWorkItem ? NewWorkItem?.workItem?.workCategoryMaster?.name || - workItem.workCategoryMaster?.name || - "NA" + workItem.workCategoryMaster?.name || + "NA" : "NA"} - {/* Planned - visible on medium and above */} - {hasWorkItem - ? NewWorkItem?.workItem?.plannedWork ?? - workItem?.plannedWork ?? - "NA" - : "NA"} - - - {/* Completed - visible on medium and above */} - - {hasWorkItem - ? NewWorkItem?.workItem?.completedWork ?? - workItem?.completedWork ?? - "NA" - : "NA"} + {hasWorkItem ? ( + `${NewWorkItem?.workItem?.completedWork ?? + workItem?.completedWork ?? + "0"}/${NewWorkItem?.workItem?.plannedWork ?? + workItem?.plannedWork ?? + "0"}` + ) : ( + "NA" + )} {/* Progress Bar - always visible */} @@ -205,7 +199,7 @@ const WorkItem = ({ width: getProgress( NewWorkItem?.workItem?.plannedWork || workItem?.plannedWork, NewWorkItem?.workItem?.completedWork || - workItem?.completedWork + workItem?.completedWork ), height: "5px", }}