Modify summary export template

pmorcilloa year ago

Greetings,
I've already modified the summary.xlsx file on the templates folder and the lastCell comments. For some reason it keeps displaying the original one when i download the file. Any ideas?

pmorcilloa year ago

Also if you could help me with the spanish translation would be great!

Anton Tananaeva year ago

Most likely you have not modified it correctly. Impossible to tell what the problem is without any info.

pmorcilloa year ago

I've quit the two last columns from the summary.xlsx file, Engine Hours and Spent Fuel, and added a column right after Start Date, so I've modified the lastCell comments from "J7" to "I7". When I press the export button and open the generated report.xlsx file, it keeps displaying the original file. There's no error messages or something similar.

Anton Tananaeva year ago

If you get the original format, it must be getting that file from somewhere. You probably didn't modify the file or didn't save it or saved it in the wrong place.

pmorcilloa year ago

I'm modifying the templates/export/summary.xlsx file. I think that's the file that I need to modify, right?

Anton Tananaeva year ago

Yes.

pmorcilloa year ago

I opened the file with LibreOffice Calc, did the modifications and saved it. The file did not move from it's folder.

Anton Tananaeva year ago

Well, it must be taking the old template from somewhere, right?

pmorcilloa year ago

I've search the template from the root and there's only one summary.xlsx file in the entire project.

Anton Tananaeva year ago

That's exactly my point.

Anton Tananaeva year ago

Wait. What do you mean by entire project? Are you modifying it on the server or in the source?

pmorcilloa year ago

I'm modifying it from the source.
What I mean by entire project is the traccar folder.

Anton Tananaeva year ago

And what do you do with the source after that?

pmorcilloa year ago

I just save it.