diff --git a/src/components/projection/ProjectionTable.tsx b/src/components/projection/ProjectionTable.tsx index e97c1e6..7cbb238 100644 --- a/src/components/projection/ProjectionTable.tsx +++ b/src/components/projection/ProjectionTable.tsx @@ -155,6 +155,9 @@ export const ProjectionTable: React.FC = () => { {t("table.nominalValueCol")} + + {t("table.nominalProfitCol")} + {t("table.realValueCol")} @@ -172,6 +175,7 @@ export const ProjectionTable: React.FC = () => { {paginatedRows.length > 0 ? ( paginatedRows.map((row) => { + const isNominalProfitPos = row.nominalProfit >= 0 const isRealProfitPos = row.realProfit >= 0 return ( { locale, )} + +
+ {isNominalProfitPos ? ( + + ) : ( + + )} + {formatLocalCurrency( + row.nominalProfit, + currencyCode, + locale, + )} +
+ {formatLocalCurrency( row.realValue, @@ -244,7 +268,7 @@ export const ProjectionTable: React.FC = () => { ) : ( No matching records found.