@extends('layouts.admin') @section('title', 'Manage Investors') @section('content')

{{ $investors->total() }}

Total Investors

@if(session('success')) @endif
Investor List
@if(auth()->user()->role === 'admin') @endif @forelse($investors as $investor) @if(auth()->user()->role === 'admin') @endif @empty @endforelse
Investor Name Contact Info Budget Investment Preferences LocationsAdded ByActions
{{ $investor->name }}
@if($investor->is_cash_buy) Cash Buyer @endif
{{ $investor->email ?? 'N/A' }}
{{ $investor->phone ?? 'N/A' }}
@if($investor->min_budget || $investor->max_budget)
£{{ number_format($investor->min_budget/1000, 0) }}k - £{{ number_format($investor->max_budget/1000, 0) }}k
@elseif($investor->budget)
Up to £{{ number_format((float) preg_replace('/[^0-9.]/', '', $investor->budget)/1000, 0) }}k
@else Not specified @endif
@if($investor->deals_of_interest) @foreach($investor->deals_of_interest as $deal) {{ $deal }} @endforeach @else None set @endif @if($investor->areas_of_interest) @foreach($investor->areas_of_interest as $area) {{ $area }} @endforeach @else
{{ $investor->location ?? 'N/A' }}
@endif
{{ $investor->agent->name ?? 'N/A' }}
{{ $investor->agent->role ?? '' }}
@csrf @method('DELETE')

No investors found in your list.

Add First Investor
@if($investors->hasPages())
{{ $investors->links('pagination::bootstrap-5') }}
@endif @endsection @section('scripts') @endsection