@extends('admin.layouts.master') @section('title','Showings') @section('content')
| # | Agent ID | Property ID | Method | Name | Mobile | Message | Date | Time | Date2 | Time2 | Created At | Action | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{$loop->iteration}} | {{$showing->agent_id}} | @php $property = \App\Property::find($showing->property_id); $parent = $property?->property_for === 'Rent' ? 'Rent' : ($property ? 'Sale' : null); @endphp@if($property && $parent) {{ $showing->property_id }} @else {{ $showing->property_id }} @endif | {{$showing->method}}@if($showing->method == 'virtual') {{ $showing->methodType }} {{ $showing->methodTypeData }}@endif |
{{$showing->name}} | {{$showing->email}} | {{$showing->mobile}} | {{$showing->message}} | {{$showing->date}} | {{$showing->time}} | {{$showing->date2}} | {{$showing->time2}} | {{$showing->created_at->format('d-m-Y')}} |
@if($showing->status == 'Not Read')
@else
Read |