|
|
@@ -269,7 +269,7 @@ const ResourceAllocationByStage: React.FC<Props> = ({ grades, allTasks }) => { |
|
|
|
</TableCell> |
|
|
|
{grades.map((column, idx) => { |
|
|
|
const stageHours = |
|
|
|
currentTaskGroups[tg.id].percentAllocation * totalManhour; |
|
|
|
currentTaskGroups[tg.id].percentAllocation / 100 * totalManhour; |
|
|
|
return ( |
|
|
|
<TableCell key={`${column.id}${idx}`}> |
|
|
|
{manhourFormatter.format( |
|
|
@@ -314,7 +314,7 @@ const ResourceAllocationByStage: React.FC<Props> = ({ grades, allTasks }) => { |
|
|
|
acc + |
|
|
|
tg.percentAllocation / 100 * |
|
|
|
totalManhour * |
|
|
|
manhourPercentageByGrade[column.id], |
|
|
|
manhourPercentageByGrade[column.id] / 100 , |
|
|
|
0, |
|
|
|
); |
|
|
|
return ( |
|
|
|