-
Pre Assessment Report
-
- Last updated: {formatDateTime(propertyMeta.updatedAt)}
-
-
-
- {nonIntrusiveSurvey && (
-
-
Non-Intrusive Survey
-
- Conducted by: {nonIntrusiveSurvey.surveyor} on{" "}
- {formatDate(nonIntrusiveSurvey.surveyDate)}
-
-
-
- )}
-
General Features
-
-
Existing Property Features
-
-
Heating Demand
-
-
- );
-}
diff --git a/src/app/portfolio/[slug]/building-passport/[propertyId]/utils.ts b/src/app/portfolio/[slug]/building-passport/[propertyId]/utils.ts
index 43bcd70..d872408 100644
--- a/src/app/portfolio/[slug]/building-passport/[propertyId]/utils.ts
+++ b/src/app/portfolio/[slug]/building-passport/[propertyId]/utils.ts
@@ -1,3 +1,4 @@
+import S3 from "aws-sdk/clients/s3";
import {
Recommendation,
planRecommendations,
@@ -31,6 +32,35 @@ import {
} from "@/app/db/schema/funding";
import { getUploadedFile, uploadedFiles, DB_REPORT_TYPES } from "@/app/db/surveyDB/schema/surveyDB";
+
+export async function getEnergyAssessmentFromS3(s3Uri: string): Promise