@extends('layouts.app') @section('content')
@include('includes.sidebar')
@include('includes.header')
{{-- @dd($contents) --}}

Home / Departments

{{-- @dd($departments) --}}
Departments
@if(!empty($departments) && $departments->count()) {{-- @dd($departments) --}} @php $sn=1; @endphp @foreach($departments as $key => $value) @php $sn++; @endphp @endforeach @else @endif
# Name Description Action
{{$sn}} {{$value->name}} {{$value->description}} Edit
No Department Yet
@include('includes.footer')
@endsection