Skip to content

feat: add property report generation feature#522

Merged
nanaf6203-bit merged 6 commits into
MettaChain:mainfrom
victor-olamide:feature/property-report-generation
May 30, 2026
Merged

feat: add property report generation feature#522
nanaf6203-bit merged 6 commits into
MettaChain:mainfrom
victor-olamide:feature/property-report-generation

Conversation

@victor-olamide
Copy link
Copy Markdown
Contributor

@victor-olamide victor-olamide commented May 27, 2026

  • Create PropertyReportService for generating PDF reports
  • Add report generation endpoint to PropertiesController
  • Update PropertiesModule to include the new service
  • Add pdfkit dependency for PDF generation
  • Reports include property details, comparable properties, and market analysis

Closes #347

- Create PropertyReportService for generating PDF reports
- Add report generation endpoint to PropertiesController
- Update PropertiesModule to include the new service
- Add pdfkit dependency for PDF generation
- Reports include property details, comparable properties, and market analysis
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 27, 2026

@victor-olamide Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

- Fix PrismaService import path in property-report.service.ts
- Add missing Decimal import from @prisma/client/runtime/library
- Add explicit type annotations to reduce callbacks
- Add Promise<void> return type to generateReport method
@nanaf6203-bit
Copy link
Copy Markdown
Contributor

@victor-olamide fix the CI and resolve conflicts.

@nanaf6203-bit
Copy link
Copy Markdown
Contributor

@victor-olamide are on this?

@victor-olamide
Copy link
Copy Markdown
Contributor Author

@victor-olamide fix the CI and resolve conflicts.

@nanaf6203-bit CI now fixed and conflicts resolved. Thank you.

Add cancelledBy relation on Transaction for CancelledTransactions,
add versions relation on Document for DocumentVersion, and add
uploadedDocumentVersions relation on User for DocumentVersionUploader.
These missing opposite-side relation fields caused prisma generate to
fail with P1012 validation errors, blocking the CI Lint & Build step.
…port-generation

# Conflicts:
#	prisma/schema.prisma
#	src/properties/properties.controller.ts
#	src/properties/properties.module.ts
- Add OpenHouse and OpenHouseRsvp Prisma models with RsvpStatus enum
- Fix double angle-bracket syntax in users.service.ts (Promise<< →
  Promise<)
- Remove duplicate import block in main.ts; fix useGlobalPipe typo
- Remove duplicate import block in properties.service.ts; add null
  guard for existingProperty
- Fix property-images.service.ts out-of-scope filename reference
- Add findAuthorizedById, toObjectKey, buildUploadObjectKey to
  DocumentsService used by documents-download.controller.ts
- Fix property-report.service.ts: use aggregate instead of average
- Fix transactions.service.spec.ts duplicate TransactionTypeDto import
- Add missing BadRequestException import in users.service.ts; replace
  non-schema bio/address/occupation/company field access with nulls
- Use useGlobalPipes (plural) in main.ts bootstrap
@victor-olamide victor-olamide force-pushed the feature/property-report-generation branch from fbe0de2 to 28c85d5 Compare May 30, 2026 07:30
Copy link
Copy Markdown
Contributor

@nanaf6203-bit nanaf6203-bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nanaf6203-bit nanaf6203-bit merged commit 141cc68 into MettaChain:main May 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Property Report Generation

2 participants