How in export with maatwebsite excel add data from related table? #3130
Unanswered
sergeynilov
asked this question in
Q&A
Replies: 1 comment
-
It's just a collection, so you can build up the collection as you want. The package doesn't get in your way. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
In Laravel 8 with "maatwebsite/excel": "^3.1" I make export of table row with features
that some enum columns must have label instead of enum values like :
also I add some calculative fields in my app/Exports/AdsExport.php file above.
But if there is a way to add data from related table? Any Ad can have several ad_locations with
several fields... Later I will need to write import functionality to generated in export files...
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions