@vite(['resources/css/app.css', 'resources/js/app.js']) @php $user = auth()->user(); $navItems = [ ['label' => 'Dashboard', 'route' => 'dashboard', 'active' => 'dashboard', 'icon' => 'dashboard'], ['label' => 'Projects', 'route' => 'projects.index', 'active' => 'projects.*', 'icon' => 'construction'], ['label' => 'Document Centre', 'route' => 'documents.index', 'active' => 'documents.*', 'icon' => 'folder_managed'], ['label' => 'Reports', 'route' => 'reports.index', 'active' => 'reports.*', 'icon' => 'assessment'], ]; if ($user?->isTechnician()) { $navItems[] = ['label' => 'My Work', 'route' => 'work.technician', 'active' => 'work.technician', 'icon' => 'assignment']; } if ($user?->isSupervisor() || $user?->isAdmin()) { $navItems[] = ['label' => 'Review Queue', 'route' => 'work.supervisor', 'active' => 'work.supervisor', 'icon' => 'fact_check']; } if ($user?->isAdmin()) { $navItems[] = ['label' => 'Users', 'route' => 'users.index', 'active' => 'users.*', 'icon' => 'group']; $navItems[] = ['label' => 'Audit', 'route' => 'audit-logs.index', 'active' => 'audit-logs.*', 'icon' => 'manage_search']; } @endphp
@hasSection('mobile-back') arrow_back @else S @endif @hasSection('mobile-title')
@yield('mobile-title')
@hasSection('mobile-subtitle')
@yield('mobile-subtitle')
@endif
@else Stephup @endif
@hasSection('mobile-action-url') @hasSection('mobile-action-icon') @yield('mobile-action-icon') @else @yield('mobile-action-label') @endif @endif
@if (session('status'))
{{ session('status') }}
@endif @if ($errors->any())
Please check the highlighted fields.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @yield('content')