diff --git a/src/app/api/portfolio/summary/[portfolioId]/route.ts b/src/app/api/portfolio/summary/[portfolioId]/route.ts index e7780ed6..352ba35c 100644 --- a/src/app/api/portfolio/summary/[portfolioId]/route.ts +++ b/src/app/api/portfolio/summary/[portfolioId]/route.ts @@ -83,7 +83,7 @@ export async function GET( ], }, { - title: "Energy bills/unit", + title: "Annual energy bill/unit", scenarios: [ { scenarioName: portfolioName, @@ -92,7 +92,7 @@ export async function GET( ], }, { - title: "Energy consumption (kWh)/unit", + title: "Annual Energy consumption (kWh)/unit", scenarios: [ { scenarioName: portfolioName, @@ -103,11 +103,14 @@ export async function GET( { title: "Cost (£)", scenarios: [ - { scenarioName: portfolioName, data: formatNumber(data[0].cost || 0) }, + { + scenarioName: portfolioName, + data: "£" + formatNumber(data[0].cost || 0), + }, ], }, { - title: "Cost (£) /unit", + title: "Cost (£)/unit", scenarios: [ { scenarioName: portfolioName, data: data[0].costPerUnit || "" }, ], @@ -125,7 +128,8 @@ export async function GET( ], }, { - title: "Valuation improvement per unit", + title: + "Potential valuation improvement/unit - highlight indicative EPC effect*", scenarios: [ { scenarioName: portfolioName, @@ -134,7 +138,8 @@ export async function GET( ], }, { - title: "Valuation return on investment", + title: + "Potential valuation return on investment - highlight indicative EPC effect", scenarios: [ { scenarioName: portfolioName, diff --git a/src/app/portfolio/[slug]/(portfolio)/summary/page.tsx b/src/app/portfolio/[slug]/(portfolio)/summary/page.tsx index e7617fb1..e64a2904 100644 --- a/src/app/portfolio/[slug]/(portfolio)/summary/page.tsx +++ b/src/app/portfolio/[slug]/(portfolio)/summary/page.tsx @@ -17,6 +17,45 @@ export default async function PortfolioSummary({

Summary

+
+ * Valuation improvement is based on these studies from + + Knight Frank + + , + + MoneySuperMarket + + , + + Lloyds + + , and + + Nationwide + + . +
); } diff --git a/src/app/portfolio/[slug]/utils.ts b/src/app/portfolio/[slug]/utils.ts index 3efd64b6..1179ed4d 100644 --- a/src/app/portfolio/[slug]/utils.ts +++ b/src/app/portfolio/[slug]/utils.ts @@ -3,7 +3,6 @@ import { recommendation, UnnestedRecommendation, PortfolioPlanRecommendation, - RecommendationWithMaterials, } from "./../../db/schema/recommendations"; import { and, eq, inArray } from "drizzle-orm"; import { db } from "@/app/db/db"; @@ -139,7 +138,7 @@ export async function getOverviewPortfolioData( ], }, { - title: "Energy bills/unit", + title: "Annual energy bill/unit", scenarios: [ { scenarioName: "Today", @@ -152,7 +151,7 @@ export async function getOverviewPortfolioData( ], }, { - title: "Energy consumption (kWh)/unit", + title: "Annual Energy consumption (kWh)/unit", scenarios: [ { scenarioName: "Today", @@ -168,11 +167,14 @@ export async function getOverviewPortfolioData( title: "Cost (£)", scenarios: [ { scenarioName: "Today", data: "" }, - { scenarioName: portfolioName, data: formatNumber(data[0].cost || 0) }, + { + scenarioName: portfolioName, + data: "£" + formatNumber(data[0].cost || 0), + }, ], }, { - title: "Cost (£) /unit", + title: "Cost (£)/unit", scenarios: [ { scenarioName: "Today", data: "" }, { scenarioName: portfolioName, data: data[0].costPerUnit || "" }, @@ -193,7 +195,8 @@ export async function getOverviewPortfolioData( ], }, { - title: "Valuation improvement per unit", + title: + "Potential valuation improvement/unit - highlight indicative EPC effect*", scenarios: [ { scenarioName: "Today", data: "" }, { @@ -203,7 +206,8 @@ export async function getOverviewPortfolioData( ], }, { - title: "Valuation return on investment", + title: + "Potential valuation return on investment - highlight indicative EPC effect", scenarios: [ { scenarioName: "Today", data: "" }, {