@extends('layouts.agent') @section('content')

Active Listings

@forelse($expiredProperties as $property) @empty @endforelse
{{ __('Featured Image') }} {{ __('Title') }} {{ __('Category') }} {{ __('Location') }} {{ __('Create Date') }} {{ __('Update Date') }} {{ __('Active Date') }} {{ __('Expire Date') }} {{ __('Status') }} {{ __('Type') }}
Image {{ $property->name ?? 'Untitled Property' }} {{ $property->category->title ?? '-' }} {{ $property->location->name ?? '-' }} {{ $property->created_at ? \Illuminate\Support\Carbon::parse($property->created_at)->format('d M, Y') : '-' }} {{ $property->updated_at ? \Illuminate\Support\Carbon::parse($property->updated_at)->format('d M, Y') : '-' }} {{ $property->active_date ? \Illuminate\Support\Carbon::parse($property->active_date)->format('d M, Y') : '-' }} {{ $property->expire_date ? \Illuminate\Support\Carbon::parse($property->expire_date)->format('d M, Y') : '-' }} {{ $property->is_primium ? 'Premium Listing' : 'Free' }} {{ $property->looking_for == 'for_rent' ? 'Rent' : 'Sale' }}
@lang('No expired properties found.')
@endsection