yesterday, after beeing swallowed up by work for months now, I had the time to program a little time & cost tracker.
It is modularized in such a way that you don´t have to touch the source code of your Mantis Instance at all. Just some includes and one SQL command and you´re set. Based an Mantis User-Concept, some users can only view the list while others can enter expenses and admins (or whoever is stated in the conf file) can even remove entries.
Although this is Alpha release stuff you still might like to use it. I will continue to work on it and post here, when it has matured.
Any comments are welcome! Developed in Mantis 0.19.1.
Great work, very usefull for my company. I made a few modifications, to your code: Current date select boxes don't show dates correctly, I replaced the code for:
<?php
# Time Tracking
$s_time_tracking = '<b>Dedicacion temporal:</b> Si has dedicado tiempo a esta incidencia, indicarlo aqui';
$s_time_user = 'Usuario';
I am trying to install your plugin. It looks nice by the way! Unfortunatuly your instructons are too short.
I succeeded to add the mysql query. I also added the lines to the language files (English and ducth). You probably mean the files in the "lang" directory?
But where do i actualy add in the html? Where did you put it?
I can confirm it works under RC4, having removed the checks about the DB connection stated earlier.
What I found lacking is some report support. Ideally, a list of reported time by project or by developer (between dates) and some CSV export would be sufficient.
I'd like to know if someone is already doing this or if someone could help me develop it.
I've managed to develop the report and CSV export feature. Have a look...
I've added filters by informer, and start/end date to the list. I've had to change some mantis files (mainly core/html_api.php) and some of the new ones had to be put in the root folder of mantis (instead of modules/time_tracking) for simplicity in the includes and easy linking from the Summary page. If the original developer is interested (I hope he is) I can send him all the changes I made so they get added/improved in new versions.