|
|
@@ -39,12 +39,17 @@ const ProjectTotalFee: React.FC<Props> = ({ taskGroups }) => { |
|
|
|
})} |
|
|
|
<Divider sx={{ paddingBlockStart: 2 }} /> |
|
|
|
<Stack direction="row" justifyContent="space-between"> |
|
|
|
<Typography variant="h6">{t("Project Total Fee")}</Typography> |
|
|
|
<Typography variant="h6">{t("Sum of Payment Milestone Fee")}</Typography> |
|
|
|
<Typography>{moneyFormatter.format(projectTotal)}</Typography> |
|
|
|
</Stack> |
|
|
|
<Divider sx={{ paddingBlockStart: 2 }} /> |
|
|
|
<Stack direction="row" justifyContent="space-between"> |
|
|
|
<Typography variant="h6">{t("Expected Total Fee")}</Typography> |
|
|
|
<Typography>{moneyFormatter.format(expectedTotalFee)}</Typography> |
|
|
|
</Stack> |
|
|
|
{projectTotal !== expectedTotalFee && ( |
|
|
|
<Typography variant="caption" color="warning.main" alignSelf="flex-end"> |
|
|
|
{t("Project total fee should be same as the expected total fee!")} |
|
|
|
{t("Sum of Payment Milestone Fee should be same as the expected total fee!")} |
|
|
|
</Typography> |
|
|
|
)} |
|
|
|
</Stack> |
|
|
|