Преглед изворни кода

update project

tags/Baseline_30082024_FRONTEND_UAT
cyril.tsui пре 1 година
родитељ
комит
8ddc64def0
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      src/components/CreateProject/ResourceAllocation.tsx

+ 2
- 2
src/components/CreateProject/ResourceAllocation.tsx Прегледај датотеку

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


Loading…
Откажи
Сачувај