Modified Manage task popup from project > project list. Change name planned to completed/planned and completed to Today`s planned. #114

Merged
admin merged 3 commits from Kartik_Enhancement#276 into Issue_May_3W 2025-05-17 10:57:50 +00:00
2 changed files with 16 additions and 25 deletions

View File

@ -184,10 +184,7 @@ const WorkArea = ({ workArea, floor, forBuilding }) => {
Category
</th>
<th className="infra-activity-table-header d-none d-md-table-cell">
Planned
</th>
<th className="infra-activity-table-header d-none d-md-table-cell">
Completed
Completed/Planned
</th>
<th className="infra-activity-table-header">
Progress

View File

@ -177,22 +177,16 @@ const WorkItem = ({
</span>
</td>
{/* Planned - visible on medium and above */}
<td className="text-center d-none d-md-table-cell">
{hasWorkItem
? NewWorkItem?.workItem?.plannedWork ??
workItem?.plannedWork ??
"NA"
: "NA"}
</td>
{/* Completed - visible on medium and above */}
<td className="text-center d-none d-md-table-cell">
{hasWorkItem
? NewWorkItem?.workItem?.completedWork ??
{hasWorkItem ? (
`${NewWorkItem?.workItem?.completedWork ??
workItem?.completedWork ??
"0"}/${NewWorkItem?.workItem?.plannedWork ??
workItem?.plannedWork ??
"0"}`
) : (
"NA"
: "NA"}
)}
</td>
{/* Progress Bar - always visible */}