@extends('layouts.admin-new') @section('content')
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Investor Summary @if($investor->is_active) Active @else Inactive @endif
@component('components.investor-stats', ['investor' => $investor]) @endcomponent @if ($investor->role == 2)
₦ {{ number_format($investor->wallet)}}

Wallet Balance

₦ {{ number_format($investor->vault) }}

Vault Balance

₦ {{ number_format($investor->promissoryPortfolioSize(), 2) }}

Portfolio Size

₦ {{ number_format($investor->promissoryTax(), 2) }}

Tax Paid

₦ {{ number_format($investor->promissoryWithdrawals(), 2) }}

Withdrawals Made

@endif
@if ($investor->role == 1)

Investor Statistics

@endif @if ($investor->role == 2)
@component('components.admin_promissory_note_table_list', ['promissoryNotes'=> $investor->promissoryNotes]) @endcomponent
@endif
Investor Details @if($investor->is_active) Active @else Inactive @endif

Personal Details

Name: {{$investor->name}}

Email: {{$investor->email}}

Phone: {{$investor->phone}}

Address: {{$investor->address}}

LGA: {{$investor->lga}}

City, State: {{$investor->city}} {{$investor->state}}

Bank Details

@php $bank = $investor->banks()->latest()->first(); @endphp @if($bank)

Bank Name: {{$bank->bank_name}}

Account Number: {{ $bank->account_number}}

@else

No bank details available

@endif