@php if($ContactType==1) $heading= "Existing Contact $PhoneNumber"; else $heading= "New Caller $PhoneNumber"; @endphp @if($ContactType==2)
Please fill the Phone Number
@endif
@if($ContactType==1) @else @endif

@if($ContactType==1) @else @endif
@if(count($Callrecords))
@php $y=0; @endphp @foreach($Callrecords as $cr) @php $y++; @endphp @endforeach
Slno Date/Time Agent Status
{{$y}} {{date('d-m-Y H:i:s a',strtotime($cr->CreatedDate))}} @php try { $userInfo=App\Models\User::GetUserInfo($cr->CreatedBy); echo $userInfo->name; } catch(\Exception $e) { echo $e; } @endphp {{$cr->CallStatus}}
@endif