Plugins are available for creating excel files eg: https://github.com/Maatwebsite/Laravel-Excel
I am trying to export data of a specific user but they get messy, like this: I dont want to add user name as many times as there is something else different from above. in the pic above it added full name, email mobile role and status twice because it had two different timesheets, but a user can have many timesheets and I dont want it like that.
I am wondering if it is possible to create an example excel file, to have a different place just for the name, then different for mobile, and so on. something like this:
or even in word/pdf file. Any suggestions?