diff --git a/apps/portal/src/mappers/offers-mappers.ts b/apps/portal/src/mappers/offers-mappers.ts index e0cea797..6a81a74f 100644 --- a/apps/portal/src/mappers/offers-mappers.ts +++ b/apps/portal/src/mappers/offers-mappers.ts @@ -700,6 +700,25 @@ export const dashboardOfferDtoMapper = ( dashboardOfferDto.income = valuationDtoMapper( offer.offersFullTime.totalCompensation, ); + + if (offer.offersFullTime.baseSalary) { + dashboardOfferDto.baseSalary = valuationDtoMapper( + offer.offersFullTime.baseSalary + ); + } + + if (offer.offersFullTime.bonus) { + dashboardOfferDto.bonus = valuationDtoMapper( + offer.offersFullTime.bonus + ); + + } + + if (offer.offersFullTime.stocks) { + dashboardOfferDto.stocks = valuationDtoMapper( + offer.offersFullTime.stocks + ); + } } else if (offer.offersIntern) { dashboardOfferDto.income = valuationDtoMapper( offer.offersIntern.monthlySalary,