@include('admin.common.meta') @include('admin.common.scripts')

{{ trans(' Eazee Chat Report') }}

@include('admin.loader') @php $getUserRoleData = userRoleData(); $LeadSources = explode(",",$getUserRoleData->LeadSources); @endphp
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
Search By: Date Range
@php $totalChat = $totalMissedChat = $totalMissedChatPercent = $cnt = 0; $totalChatTd = $totalMissedChatTd = $totalMissedChatPercentTd = $chatMissedTimeTd = ''; @endphp @foreach($chatss as $k => $v) @php $percent = round($missed_chatss[$v->dt]->total_chat * 100 / $v->total_chat, 2); $totalChatTd .= ''; $totalMissedChatTd .= ''; $totalMissedChatPercentTd .= ''; if(!empty($dttm[$v->dt])) { $chatMissedTimeTd .= ''; } $totalChat += $v->total_chat; $totalMissedChat += $missed_chatss[$v->dt]->total_chat; $totalMissedChatPercent += $percent; $cnt++; @endphp @endforeach {!! $totalChatTd !!} {!! $totalMissedChatTd !!} {!! $totalMissedChatPercentTd !!} {!! $chatMissedTimeTd !!}
Date Average{{ date('d-m-Y', strtotime($k)) }}' . $v->total_chat . '' . $missed_chatss[$v->dt]->total_chat . '' . $percent . '' . implode('
', $dttm[$v->dt]) . '
Total Chat {{ round($totalChat / $cnt, 2) }}
Total Chat Missed {{ round($totalMissedChat / $cnt, 2) }}
Missed Chat % {{ round($totalMissedChatPercent / $cnt, 2) }}