Upgrade Reporting Service#49
Merged
fedjo merged 77 commits intoagstack:mainfrom Oct 2, 2025
Merged
Conversation
Signed-off-by: fedjo <mari.giorgos@gmail.com>
When no data is sent, make empty PDF
User can make report from all observations and operations inside one type or send specific ID operation.
SIP5 Reporting and Logic update
41 v2 irrig animal
refactor: BugFix
bug: Update usage of data streams
update: Disable parcel without GK
update: Disable parcel without GK && bugfix
Signed-off-by: JoleVLF <jovan.glavonjic@vizlore.com>
Signed-off-by: JoleVLF <jovan.glavonjic@vizlore.com>
Signed-off-by: JoleVLF <jovan.glavonjic@vizlore.com>
fedjo
approved these changes
Oct 2, 2025
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 brings the forked branch up to date with the latest changes from the main branch.
Key additions include the implementation of a comprehensive Farm Calendar module, new data endpoints, and a complete overhaul of the PDF generation system.
The core of the new functionality revolves around the Farm Calendar, which now includes data tables, detailed reports, and robust date filtering capabilities.
API endpoints have been upgraded, including those for Materials, Compost, Irrigation, and Animals.
The data retrieval process has also been improved with sorting and filtering for observations and operations.
PDF reporting system now supports new data types, date filters, parcel filters, and handles empty or partial data states gracefully.
Alongside these feature developments, extensive refactoring was undertaken to improve the codebase. This includes making the code more readable by updating styles, removing unused code, and optimizing conditional logic. Several functions were moved into utils to promote reusability, and error handling was improved with better logging and try/except blocks, particularly for geospatial data.
The documentation, including the README.md, has been updated to reflect these new features and changes, ensuring the project remains easy to understand and maintain.