Renovus-Tech / solarec-java

GNU Affero General Public License v3.0
0 stars 1 forks source link

Automated report for clients regarding inverter activities #44

Closed pferrariuy closed 3 months ago

pferrariuy commented 6 months ago

Summary

Will have a services that will be invoked with events, so that reports can be generated in background (due to the possibility of time required). Reports will be generated by location only. Depending on how the report has been configure, it might include information of other locations of the client.

Report PDF

PDF reports will be generated with iText with the use of the HTML to PDF service, therefore, the code will generate HTML to then be converted to PDF and that PDF send by email to the user.

In order to incliude chats in the PDF, jFreeChart will be use to generate PNG files that will embeded in the generated PDF file.

Other types of reports

In the future, other types of reports might be added, like Excel file.

Types of reports

Code

All the code related to report generation will be in the module solarec.report.

pferrariuy commented 3 months ago

Added new logger for reports:

pferrariuy commented 3 months ago

image