Organogram
@foreach($categories as $catkey => $category)
@endforeach
-
@if($category->profile_picture =='')({{$category->id}})
@else
@endif
{{$category->first_name}} {{$category->last_name}}
@if(count($category->childs) > 0) @include('admin.organogram',['class_name' => 'block','emp_id' => '','childs' => $category->childs,'class_add' => count($category->childs) == 0 ? '' : '','id' => $category->id]) @endif