serverfireteam / panel

An easily configurable admin panel for Laravel applications.
MIT License
427 stars 144 forks source link

Display data which is fetched from two tables in CRUD with conditions #309

Closed teeganl closed 7 years ago

teeganl commented 7 years ago

I am new to laravel and i am still learning as I am working on a project. I need help in this. I have referred to https://github.com/zofe/rapyd-laravel and http://laravelpanel.com/docs/master/faq but it did not help me.

Tables : vCompany, vIndustry

vCompany fields : id , name , industry_id Example : 1 , Test Private Ltd , 9

vIndustry fields : id , name Example : 1 , Hospitality

What do i have to add into my vCompanyController file to fetch an output like the below :

Company name : vCompany.name Industry : vIndustry.name where vCompany.industry_id equals to vIndustry.id

AlirezaAlgo commented 7 years ago

@teeganl you need to ask zofe rapyd about that