Client KYC / Membership Records
| # | Full Name | Client Account Number | Account Type | Gender | Phone | Ghana Card | Bank | Passport Photo / Ghana Card | Status | Action |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $client->title_label }} {{ $client->surname }} {{ $client->first_name }} {{ $client->other_names }} | {{ $client->account_number}} | @forelse($client->accounts as $account) {{ str_replace('_', ' ', $account->account_type) }} @empty No Account @endforelse | {{ $client->gender }} | {{ $client->phone }} | {{ $client->ghana_card_no }} | {{ $client->bank_name }} |
Photo
@if($client->ghana_card_copy)
Ghana Card @elseNo Card @endif |
@php
$primaryAccount = $client->accounts->first();
@endphp
{{-- STATUS --}}
@if($primaryAccount && $primaryAccount->is_active) Active @else Inactive @endif | {{-- ACTIONS --}}{{-- Edit --}} {{-- Show ONLY to Admin & Manager --}} @auth @if(in_array(auth()->user()->role, ['admin','manager'])) {{-- Activate / Deactivate --}} @if($primaryAccount) @if($primaryAccount->is_active) @else @endif @endif {{-- Delete --}} @endif @endauth |