El Cattivo wrote:Ok, I'll see if I can do something together. Did you suggest some tips for me?
Overall, it's not as easy as it may sound.
If just hacking around, then:
Report parameters are constructed on the reports.php page, and saved in session (as $bean). You'll need to modify this to include a new grouping option.
Then things are done in report.php, which calls various methods in ttReportHelper class, such as ttReportHelper::getItems, ttReportHelper::getSubtotals, and ttReportHelper::getTotals. You'll need to carefully review and modify ttReportHelper class.
If doing things properly, then any new customization strings may have to be reflected in translation files (about 30 of them).
Fav reports save / reuse needs (probably) to be modified to handle new grouping options.
Export and import needs to be checked and fixed if something gets broken by a mod, specifically fav reports imports with regards to new options.
Most challenging part is probably the mods in ttReportHelper, as things may not be very straightforward, and this change will only increase complexity. It may be best to hire a coder with some experience, especially if you want this change to be maintained in Time Tracker.
I may have forgotten something. But I hope it gets you something to start with.