@if(count($trusteeList) > 0)
I hereby appoint the following as Trustee(s) of this my Will:
@foreach($trusteeList as $index => $trustee){{ $index + 1 }}. {{ strtoupper($trustee['full_name'] ?? 'N/A') }} (NRIC: {{ $trustee['ic_number'] ?? 'N/A' }}), {{ ucfirst($trustee['relationship'] ?? 'N/A') }}. @if(!empty($trustee['address'])) Address: {{ $trustee['address'] }} @endif @if(!empty($trustee['email'])) Email: {{ $trustee['email'] }} @endif @if(!empty($trustee['phone'])) Phone: {{ $trustee['phone'] }} @endif
@endforeach @else[No trustees appointed]
@endif