@extends('admin.layouts.app') @section('title', 'Agency Agents') @section('breadcrumb')
| Agent Name | Agency | Listings | Status | Joined | Actions |
|---|---|---|---|---|---|
|
@if($agent->agentProfile?->profile_photo)
{{ strtoupper(substr($agent->name ?? '?', 0, 2)) }}
@endif
{{ $agent->name }}
{{ $agent->email }} |
{{ $agent->agentProfile?->agency?->name ?? '—' }} | {{ $agent->properties_count ?? 0 }} | @if(($agent->agentProfile?->status ?? 'active') === 'active') Active @else {{ $agent->agentProfile?->status ?? '—' }} @endif | {{ $agent->created_at?->format('d M Y') }} | Edit |
| No agents found. Assign agents to agencies from the Agents section. | |||||
Showing {{ $agents->firstItem() ?? 0 }}-{{ $agents->lastItem() ?? 0 }} of {{ $agents->total() }}