@extends('org.layout.adminPanel') @section('title', 'Project') @section('section') @php $indexKeys = array_keys($folderpath); $projectInfo = \App\Models\Project::where('id', decode($project_id))->first(); $depInfo = \App\Models\Department::where('id', decode($dep_id))->first(); $org_location_id = encode($depInfo->org_location); $depParent = trim(treeParent($depInfo), ','); $depParent = array_reverse(explode(',', $depParent)); @endphp @foreach ($depParent as $key => $dep) @if (!empty($dep)) @php $depInfo = \App\Models\Department::find($dep); if ($key == 0) { $locationInfo = \App\Models\Location::find($depInfo->org_location); $orgInfo = $locationInfo->parent; } @endphp @if ($key == 0) Organisation / {{ $orgInfo->name }} / {{ $locationInfo->name }} / @endif {{ $depInfo->name }} / @endif @endforeach {{ $projectInfo->name }} / @if (count($folderpath) > 0) Folders @else Folders @endif @foreach ($folderpath as $key => $val) @if (end($indexKeys) != $key) {{ ' / ' }} {{ $val }} @else {{ ' / ' }} {{ $val }} @endif @endforeach @endsection @section('css') {{-- css --}} {{-- --}} @endsection @section('content')
{{-- content --}}{{ $folder->name }}
| # | Name | Type | Status | Next review due | Action |
|---|