@extends('org.layout.adminPanel') @section('title', 'Department') @section('section') @php $locationInfo = Helper::getlocationInfo($org_location_id); $orgInfo = $locationInfo->parent; $activeDep = array_reverse($activeDep); $lastId = end($activeDep) ?? 0; $dep_id = encode($lastId); @endphp Organisation / {{ $orgInfo->name }} / @if (count($activeDep) > 0) {{ $locationInfo->name }} @else {{ $locationInfo->name }} @endif @foreach ($activeDep as $dep) / @php $depInfo = Helper::getDepartmentInfo(encode($dep)); @endphp @if ($dep != $lastId) {{ $depInfo->name }} @else {{ $depInfo->name }} @endif @endforeach @endsection @section('css') {{-- css --}} {{-- --}} @endsection @section('content') {{-- content --}}
| # | Name | Manager | Action |
|---|
| # | Name | Manager | Action |
|---|