I am running Traccar 6.11.1 official, with the only modification being support for SQL Server 2016.
I’m having an issue with Traccar. I upgraded my server to version 6.11, but the Trips report export no longer shows the Device column.
This is how the template currently looks in the export folder:
Report type: Trips
Device: ${device.deviceName}
Group: ${device.groupName}
Period: ${dateTool.format("YYYY-MM-dd HH:mm:ss", from, locale, timezone) + " - " + dateTool.format("YYYY-MM-dd HH:mm:ss", to, locale, timezone)}
When I export the report, the header only shows “Trips” (or “Viajes” when localized to Spanish), and the Device and Group name fields are completely ignored.
I have also modified the template to display different titles, and I even deleted the trips.xlsx / viajes.xlsx file from the export folder, but the report continues to be generated in exactly the same way without any errors.
My question is whether the way to customize report templates has changed in recent versions, or if I now need to modify something elsewhere (for example, on the client side).
Newer versions of Traccar don't use templates for reports. It will show the same columns as you have in the web app.
Thank you for the clarification.
I understand that newer versions of Traccar no longer use server-side templates and that the exported Excel report shows the same columns as the web app.
However, I would like to ask if there are any plans to include the device name explicitly in the exported XLSX in the future.
Although the device name is visible in the web table, when the Trips report is exported to XLSX, the file does not include a “Device” column.
Having the device name as a column in the exported report would be very useful for analysis and for sharing reports outside the web interface.
Is this something that could be considered for a future release?
Device name should be in the tab name, if I remember correctly.
Здравствуйте. Присоединяюсь, название и группа нужна. В названии обычно пишут гос номер автомобиля, а в группу название организации.
I am running Traccar 6.11.1 official, with the only modification being support for SQL Server 2016.
I’m having an issue with Traccar. I upgraded my server to version 6.11, but the Trips report export no longer shows the Device column.
This is how the template currently looks in the export folder:
When I export the report, the header only shows “Trips” (or “Viajes” when localized to Spanish), and the Device and Group name fields are completely ignored.
I have also modified the template to display different titles, and I even deleted the trips.xlsx / viajes.xlsx file from the export folder, but the report continues to be generated in exactly the same way without any errors.
My question is whether the way to customize report templates has changed in recent versions, or if I now need to modify something elsewhere (for example, on the client side).