@php $isAdmin = $ctx['isAdmin']; $routes = $ctx['routes']; $alias = $ctx['alias']; $canView = $ctx['canView'] ?? $isAdmin; $canUpdate = $ctx['canUpdate'] ?? $isAdmin; $isEdit = isset($declaration) && $declaration->id; $selectedRegime= old('regime', $declaration->regime ?? ($profile->regime ?? 'old')); $homeUrl = $isAdmin ? "/{$alias}/home" : "/member/{$alias}/home"; $dashboardUrl = $isAdmin ? "/{$alias}/tdx/dashboard" : "/member/{$alias}/tdx/dashboard"; $selectedEmp = old('employee_id', $declaration->employee_id ?? ''); @endphp @extends($ctx['layout']) @push('head-script') @if($isAdmin) @else @endif @endpush @push('content-header')
@endpush @section('content')