Hi, is there a doc on how to add a custom report under statistics page?
http://$site/ocsreports/index.php?function=stats
I have found my way to
/usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_stats
and made a copy of msstatstop.class.php and customized the class name. I am fairly advanced in PHP and should be able to navigate my way around the code to pull data from databse, but just wondering if there is a developer doc on how to add reports to statistics. (also feel free to direct me to correct method if i am going about this incorrectly).
All I am going to do is pull a quick report and sort by installed version of categories "web server" and "database server" which I created.
├── class
│ ├── msstats.class.php
│ ├── msstatsconnexion.class.php
│ ├── msstatsdrp.class.php
│ └── msstatstop.class.php
├── files
│ └── ms_stats_top_soft.txt
└── ms_stats.php