-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get millage report between 7:00am - 7:00pm during a month, possible? #1223
Comments
Not sure why you need it and why the report for a month does not work. I don't know an SQL query to run it because it needs to calculate distance between positions loaded from DB. In theory you can run 30/31 reports and then combine them somehow. You can do it via the |
Dear Vitalidze, The reason our working time is 7:00 - 19:00, after that drivers brig their vehicles to home. Since I'm providing them fuel based on millage detail. I want to filter out only working hours between this period only because of the vehicles used after working time for personal uses which is not my responsibility. If in any way this is possible, I'm ready. |
As I said you can run these 30/31 reports programmatically for all your vehicles and then process them with some application. This is the only doable way without changing the Traccar code. |
Let's leave the traccar code, I only need a query to calculate the millage between a period. I'm familiar to MySQL and PHP and HTML, I can create a view and get my report also I can implement it in an interface. |
Dear Sir,
Thank you for your services.
I would like to get a report for vehicles for a period of the month but only between 7:00 am - 7:00 pm (19:00). Unfortunately, with the current version, I'm not able to do that.
Is there any solution for that, is there any query I can run on MySQL that calculates for me this? Please, anything would be helpful as I urgently need this.
Kind regards,
The text was updated successfully, but these errors were encountered: