Add purpose-aware property assessor intake

This commit is contained in:
2026-03-27 23:01:12 -05:00
parent c58a2a43c8
commit 301986fb25
16 changed files with 841 additions and 70 deletions

View File

@@ -6,6 +6,7 @@ export class ReportValidationError extends Error {}
export interface ReportPayload {
recipientEmails?: string[] | string;
assessmentPurpose?: string;
reportTitle?: string;
subtitle?: string;
generatedAt?: string;
@@ -258,6 +259,7 @@ export async function renderReportPdf(
drawKeyValueTable(doc, [
["Address", String(subject.address || "N/A")],
["Assessment Purpose", String(payload.assessmentPurpose || "N/A")],
["Ask / Last Price", currency(subject.listingPrice)],
["Type", String(subject.propertyType || "N/A")],
["Beds / Baths", `${subject.beds ?? "N/A"} / ${subject.baths ?? "N/A"}`],