@extends('layouts.portal') @section('title', 'Manage Trusts') @section('page_title', 'Trust Management') @section('page_subtitle', 'Create, monitor, and manage all client trusts') @section('sidebar') @include('admin.partials.sidebar', ['active' => 'trusts']) @endsection @section('content')
Create, monitor, and manage all client trusts
| Trust Information | Type | Client | Created | Status | Actions |
|---|---|---|---|---|---|
|
{{ $trust->trust_name ?? 'N/A' }} Trust ID: #{{ $trust->id }} |
{{ ucfirst(str_replace('_', ' ', $trust->trust_type ?? 'N/A')) }} |
@if($trust->client)
{{ $trust->client->full_name ?? $trust->client->name ?? 'N/A' }} {{ $trust->client->email ?? 'N/A' }} |
{{ $trust->creation_date ? \Carbon\Carbon::parse($trust->creation_date)->format('d M Y') : 'N/A' }} |
@php $statusConfig = [ 'pending_review' => ['badge' => 'bg-yellow-100 text-yellow-800', 'icon' => 'fas fa-hourglass-half', 'label' => 'Pending Review'], 'approved' => ['badge' => 'bg-green-100 text-green-800', 'icon' => 'fas fa-check-circle', 'label' => 'Approved'], 'active' => ['badge' => 'bg-blue-100 text-blue-800', 'icon' => 'fas fa-play-circle', 'label' => 'Active'], 'completed' => ['badge' => 'bg-gray-100 text-gray-800', 'icon' => 'fas fa-check-double', 'label' => 'Completed'], ]; $status = $statusConfig[$trust->status] ?? ['badge' => 'bg-gray-100 text-gray-800', 'icon' => 'fas fa-question-circle', 'label' => ucfirst($trust->status)]; @endphp {{ $status['label'] }} |
No trusts match your search criteria. Create a new trust to get started.
Create New Trust