@extends('layouts.app') @section('title', 'Division List') @section('content')

Division List

@if ( !$departments->isEmpty() )
@endif @if ( !$departments->isEmpty() )
@else
@endif Create New
@if ( $departments->isEmpty() )

- N/A -

@else
@foreach ($departments as $index => $department) @endforeach
No Icon Code Name Head of Department Description Action
{{ $index + 1 }} {!! $department->icon !!} {{ $department->code }} {{ $department->name }} {{ $department->getDepartmentHeadName() }} {{ !$department->description ? 'N/A' : $department->description }}
{!! $departments->links() !!}
@endif
@endsection @push('js') @endpush