@extends('layouts.portal') @section('title', 'Trust Assets') @section('page_title', 'Trust Assets') @section('page_subtitle', 'Manage Assets') @section('sidebar') @include('agent.partials.sidebar', ['active' => 'trusts']) @endsection @section('content')

Trust Assets

{{ $trust->trust_name }} - Manage Assets

Trusts {{ $trust->trust_name }} - Assets

Trust Type

{{ ucfirst(str_replace('_', ' ', $trust->trust_type)) }}

Status

@if($trust->status === 'pending_review') Pending Review @elseif($trust->status === 'approved') Approved @else {{ ucfirst($trust->status) }} @endif

Creation Date

{{ \Carbon\Carbon::parse($trust->creation_date)->format('d M Y') }}

Total Assets Value

RM 0.00

@if(isset($clientAssets) && $clientAssets->count() > 0)

Quick Add Client Assets

Click any asset below to quickly add it to the trust (Found: {{ $clientAssets->count() }} assets)

@foreach($clientAssets as $asset) @endforeach
@elseif(isset($clientAssets))

No Client Assets Found

Client ID: {{ $trust->client_id }} | This client hasn't added any assets yet. You can add them manually below or go to client profile to add assets first.

View Client Profile & Add Assets
@endif
@csrf

Trust Assets

List all property, money, and assets being passed to this trust

Back to Step 2
@endsection