feat: add property report generation feature#522
Merged
nanaf6203-bit merged 6 commits intoMay 30, 2026
Merged
Conversation
- 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
|
@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! 🚀 |
- 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
Contributor
|
@victor-olamide fix the CI and resolve conflicts. |
Contributor
|
@victor-olamide are on this? |
Contributor
Author
@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
fbe0de2 to
28c85d5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #347