@extends('agent.layouts.app') @section('title', 'Agents') @section('content')
Edit
@if(!empty($agent->about))

About the Company

{!! $agent->about !!}

@endif @if(!empty($agent->phone) || !empty($agent->email) || !empty($agent->website_url) || !empty($agent->address))

Contact Information

@if(!empty($agent->phone))
Phone:
{{ $agent->phone }}
@endif @if(!empty($agent->email))
Email:
{{ $agent->email }}
@endif @if(!empty($agent->website_url))
Website:
{{ $agent->website_url }}
@endif @if(!empty($agent->address))
Address:
{{ $agent->address }}, {{ $agent->address2 }}, {{ $agent->city }}, {{ $agent->county }}, {{ $agent->state }} {{ $agent->zip }}
@endif
@endif @if($agent->instagram || $agent->facebook || $agent->twitter || $agent->linkedin)

Social Media

@endif @if(!empty($agent->status) || !empty($agent->role) || !empty($agent->created_at) || !empty($agent->updated_at))

Additional Information

@if(!empty($agent->status))
Status:
{{ ucfirst($agent->status) }}
@endif @if(!empty($agent->role))
Role:
{{ ucfirst($agent->role) }}
@endif @if(!empty($agent->created_at))
Created At:
{{ \Carbon\Carbon::parse($agent->created_at)->format('F j, Y, g:i a') }}
@endif @if(!empty($agent->updated_at))
Updated At:
{{ \Carbon\Carbon::parse($agent->updated_at)->format('F j, Y, g:i a') }}
@endif
@endif


{{$agent->full_name}} Add Photos All Listing
@if (session('success')) @endif @if (session('error')) @endif
@csrf
Drag and drop files here or click to upload
{{$agent->full_name}} All Photos
@foreach ($images as $image)
Delete
@endforeach
Showing {{ $images->firstItem() }} to {{ $images->lastItem() }} of {{ $images->total() }} results
{{ $images->links('vendor.pagination.bootstrap-4') }}
@endsection