@extends('layouts.agent') @section('content') @include('includes.admin.form-success')
| {{ __('Featured Image') }} | {{ __('Title') }} | {{ __('Category') }} | {{ __('Location') }} | {{ __('Create Date') }} | {{ __('Update Date') }} | {{ __('Active Date') }} | {{ __('Expire Date') }} | {{ __('Type') }} | @php $firstProperty = $expiredProperties->first(); @endphp {{ isset($firstProperty) && $firstProperty->status == 1 ? 'Options' : 'Status' }} |
|---|---|---|---|---|---|---|---|---|---|
|
{{ $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->looking_for == 'for_rent' ? 'Rent' : 'Sale' }} | @if ($property->status == 1) @else {{ $property->status == 0 ? 'Pending' : ($property->status == 2 ? 'Reject' : 'Re-Approval') }} @endif |