By Category
@foreach ($categories->where('display_on_home', '1') as $category)
@if ($category->activeChilds->count() > 0)
@else
@endif
@endforeach
By Application
@foreach ($product_application->where('display_on_home', '1') as $app)
@endforeach
By Industry
@foreach ($product_industries->where('display_on_home', '1') as $industry)
@endforeach
@foreach (Common::public_categories()->where('display_on_home', '1') as $cat)
{{ $cat['name'] }}
@foreach ($cat->activeChilds as $subcat)
@if ($subcat->activeChilds->count() > 0)
@else
@endif
@endforeach
@endforeach