In my view i am fetching data from 5 tables ( Later stage it can we increased to 15) and want to pass data in blade view so that my PDF file can be generated.In my view i am fetching data from 5 tables ( Later stage it can we increased to 15) and want to
In my view i am fetching data from 5 tables ( Later stage it can we increased to 15) and want to pass data in blade view so that my PDF file can be generated.In my view i am fetching data from 5 tables ( Later stage it can we increased to 15) and want to pass data in blade view so that my PDF file can be generated.
Now in blade view i only want to generate the report based on data.
Let's say i have data coming from only four tables then corresponding section will populated with data from the array sent from controller. How this can be achieved.
How to get access the data in larvael blade view for these one arrays.
this is sample data
Please edit your question and your first reply so that they make sense.
Please format your code by putting 3 backticks ``` on a line before and after each code block
What you are describing (iterating over arrays in a view) is performed by almost all applications and blade has good helpers to help you do it with both foreach loops and partials. Please check the blade documentation.