Feat/reports#5
Merged
Merged
Conversation
…ansaction repository methods - Changed date validation in transaction filters from datetime to date. - Updated transaction repository methods to include category names in category totals. - Improved date handling in transaction queries to ensure correct filtering by date range.
- Added new report types: Transactions Summary, Expenses by Category, Monthly Trend, Budget Performance, and Financial Overview. - Implemented corresponding formatting functions for PDF generation of new report types. - Updated report service to handle new report types and their respective data processing. - Improved date handling in report filters and ensured proper validation for goal IDs in report requests. - Refactored PDF generation components for better modularity and maintainability.
…ervices - Introduced a complete project documentation file detailing system architecture, backend and frontend technologies, and database structure. - Added new CSV and Excel formatting functions for various report types, including Budget Performance and Financial Overview. - Enhanced PDF generation for reports with improved layout and modularity. - Implemented new repository methods for goal sharing and refined existing report handling logic. - Updated date formatting utilities for consistent date representation across reports.
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.
This pull request introduces significant improvements and new features to the reporting system, goal management, and documentation for the FoppyAI finance management project. The changes focus on expanding report types and their data structures, improving goal repository filtering and handling, and fixing issues related to date processing and shared goals. Additionally, the documentation has been updated to provide a comprehensive overview of the backend and frontend architecture, features, and known bugs.
Reporting System Enhancements
TRANSACTIONS_SUMMARY,EXPENSES_BY_CATEGORY,MONTHLY_TREND,BUDGET_PERFORMANCE, andFINANCIAL_OVERVIEWtoReportTypeand implemented their data structures inreport.entity.tsfor richer financial analytics. [1] [2]Dateobjects, enforcing required filters (e.g.,goalIdfor certain reports), and always usingcreated_atfor goal filtering in reports.Goal Repository Improvements
user_idandshared_user_id, allowing users to see their own and shared goals. Also added flexible date filtering (bycreated_atorend_date) for reports and dashboard views. [1] [2]findByIdand improvingcreateandupdatelogic to better handle category lookups and partial updates. [1] [2] [3]Documentation Updates
CSV Service Expansion
Minor Fixes and Improvements
created_atorend_date).Let me know if you need a walkthrough of any specific change or how these updates affect the integration with other parts of the system!