@extends ('../welcome') @section('content')

Action Details

@if ($communication->broker_id == null)
@php $date = strtotime($communication->event?->start); $start = date('Y-m-d h:i:s', $date); @endphp
Lead Name: @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('leads-show')) {{ $communication->lead->name }} @else {{ $communication->lead->name }} @endif
User Name: @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('users-show')) {{ $communication->user->name }} @else {{ $communication->user->name }} @endif
Status {{ $communication->CommunicationStatus?->name }}
Description {{ $communication->description }}
Title : {{ $communication->event?->title }}
Date of Action :{{ $start }}
@else
@if ($communication->check_in == 0) @else @endif
Type: {{ $communication->type ?? '' }}
State: {{ $communication->state ?? '' }}
Date: {{ $communication->event->start ?? '' }}
Broker: {{ $communication->broker?->name ?? '' }}
Agent: {{ $communication->agent->name ?? '' }}
User: {{ $communication->user->name ?? '' }}
Description: {{ $communication->description ?? '' }}
Reminder: {{ $communication->reminder ?? '--' }}
Close: {{ $communication->event->end ?? '' }}
@endif
{{-- Edit Communication --}} {{-- CheckIn --}} {{-- Re-Assign User --}} {{-- --}} @endsection