@extends('layouts.admin') @section('title', 'Agent Properties') @section('content')

{{ $properties->total() }}

Total Agent Posts

@if(session('success')) @endif
Properties Posted by Agents
@forelse($properties as $property) @empty @endforelse
Thumbnail Headline & Location Posted By Agent Purpose Type Price Status Actions
@if($property->thumbnail) Property @else No Image @endif
{{ $property->headline }}
{{ $property->location }}
{{ $property->owner->name ?? 'Unknown Agent' }}
{{ $property->owner->email ?? '' }}
{{ $property->marketingPurpose->name ?? 'N/A' }} {{ $property->propertyType->name ?? 'N/A' }}
£{{ number_format($property->price, 2) }}
@csrf
@csrf @method('DELETE')

No agent properties found.

@if($properties->hasPages())
{{ $properties->links('pagination::bootstrap-5') }}
@endif @endsection