@extends('adminlte::page') @section('title', 'department') @section('content_header') @stop @section('content')

Department

List of Department

@if (Session::has('error'))

{{ session()->get('error') }}

@elseif (session()->has('success'))
Well done !!!

{{ session()->get('success') }}

@endif
@if(!empty($departments)) @foreach ($departments as $department) @endforeach @endif
Name Visibility Status Actions
{{ $department->name }} @if ($department['visibility'] == 1) public @else private @endif @if ($department['status'] == 1) Active @else Inactive @endif
     
Name Visibility Status Actions
@stop @section('js') @include('admin.department.scripts.index') @stop