@extends('admin.layouts.app') @section('title', 'Agent Properties') @section('breadcrumb')
  • Agents
  • Agent Properties
  • @endsection @section('heading', 'Agent Properties') @section('subheading', 'View properties listed by each agent.') @section('actions') Add Agent @endsection @section('content')
    @forelse($properties as $property) @empty @endforelse
    Agent Property Title Type Price Status Listed Actions
    {{ $property->agent ? substr($property->agent->name, 0, 2) : '—' }}

    {{ $property->agent?->name ?? '—' }}

    {{ $property->agent?->email ?? '' }}

    {{ Str::limit($property->title, 40) }} {{ $property->type?->name ?? '—' }} {{ $property->price ? '₹' . number_format($property->price) : '—' }} {{ $property->status }} {{ $property->created_at->format('d M Y') }} Edit
    No properties with assigned agents yet.
    @if ($properties->hasPages())

    Showing {{ $properties->firstItem() ?? 0 }} to {{ $properties->lastItem() ?? 0 }} of {{ $properties->total() }} results

    {{ $properties->links() }}
    @endif
    @endsection