@extends('layouts.dashboard') @section('dashboard-content') @php $section = $activeSection ?? 'overview'; $partial = 'dashboard.sections.' . $section; $sectionTitles = [ 'transaction' => 'Transaction', 'property' => 'Property', 'party' => 'Party', 'applicant' => 'Applicant', 'document' => 'Document Search', 'survey' => 'Survey Plan', 'property-index' => 'Index Property', 'boundary-documents' => 'Index Documents', 'audit-trail' => 'Audit Trail', 'commission-members' => 'Commission Members', 'user-role-management' => 'User & Role Management', 'data-centric-center' => 'Data Centric Center', 'agency-portal' => 'Agency Portal', 'incidents' => 'Incidents', 'community-grazing' => 'Community & Grazing', 'representation' => 'Representation', ]; @endphp @if(view()->exists($partial)) @include($partial) @else @include('dashboard.sections.placeholder', ['title' => $sectionTitles[$section] ?? ucfirst(str_replace('-', ' ', $section))]) @endif @endsection