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

@foreach($communication->events as $event) @if($event->type == 'meeting') Meeting Details @else Calls Details @endif @endforeach

Lead Name:
@if(!empty($communication->lead)) {{$lead->name}} @else {{$lead->name}} @endif
User Name:
@if(!empty($communication->user)) {{$user->name}} @else {{$user->name}} @endif
Call Action:
{{$communication->callAction->name}}
Description:
{{$communication->description}}
Status :
{{$communication->status}}
@foreach ($communication->events as $event)
Title :
{{$event->title}}
Start :
@php $date = strtotime($event->start); $start = date('Y-m-d h:i:s',$date); @endphp {{$start}}
End :
@php $date = strtotime($event->end); $end = date('Y-m-d h:i:s',$date); @endphp {{$end}}
@endforeach
@csrf
@endsection