@extends('layouts.admin.layout') @section('title') {{ $website_lang->where('lang_key','department')->first()->custom_lang }} @endsection @section('admin-content')

{{ $website_lang->where('lang_key','create')->first()->custom_lang }}

{{ $website_lang->where('lang_key','department_table')->first()->custom_lang }}
@foreach ($departments as $index => $item) @endforeach
{{ $website_lang->where('lang_key','serial')->first()->custom_lang }} {{ $website_lang->where('lang_key','name')->first()->custom_lang }} {{ $website_lang->where('lang_key','slug')->first()->custom_lang }} {{ $website_lang->where('lang_key','status')->first()->custom_lang }} {{ $website_lang->where('lang_key','others')->first()->custom_lang }} {{ $website_lang->where('lang_key','action')->first()->custom_lang }}
{{ ++$index }} {{ $item->name }} {{ $item->slug }} @if ($item->status==1) @else @endif {{ $website_lang->where('lang_key','manage_img')->first()->custom_lang }} {{ $website_lang->where('lang_key','manage_video')->first()->custom_lang }} {{ $website_lang->where('lang_key','manage_faq')->first()->custom_lang }} @php $count=$lawyers->where('department_id',$item->id)->count(); @endphp @if ($count == 0) @endif
@endsection