@include('admin.loader')
@php
$getUserRoleData = userRoleData();
$LeadSources = explode(",",$getUserRoleData->LeadSources);
@endphp
@if( count((array) $errors) > 0)
@foreach($errors->all() as $error)
{{ trans('labels.Error') }}:
{{ $error }}
@endforeach
@endif
@if(session()->has('message'))
{{ trans('labels.Successlabel') }}
{{ session()->get('message') }}
@endif
@if(session()->has('error'))
{{ trans('labels.WarningLabel') }}
{{ session()->get('error') }}
@endif
All Products Combined
|
Time Interval |
Unique Chat Count |
Total Messages Received |
Total Messages Sent |
@foreach ($mergedUniqueChatsPerHour as $timeInterval => $uniqueChatCount)
{{ $timeInterval }} |
{{ $uniqueChatCount }} |
{{ isset($mergedReceivedMessages[$timeInterval]) ? $mergedReceivedMessages[$timeInterval] : 0 }} |
{{ isset($mergedSentMessages[$timeInterval]) ? $mergedSentMessages[$timeInterval] : 0 }} |
@endforeach
@foreach ($mergedReceivedMessages as $timeInterval => $receivedCount)
@if (!isset($mergedUniqueChatsPerHour[$timeInterval]))
{{ $timeInterval }} |
0 |
{{ $receivedCount }} |
{{ isset($mergedSentMessages[$timeInterval]) ? $mergedSentMessages[$timeInterval] : 0 }} |
@endif
@endforeach
@foreach ($mergedSentMessages as $timeInterval => $sentCount)
@if (!isset($mergedReceivedMessages[$timeInterval]) && !isset($mergedUniqueChatsPerHour[$timeInterval]))
{{ $timeInterval }} |
0 |
0 |
{{ $sentCount }} |
@endif
@endforeach
Guru IPTV
|
Time Interval |
Unique Chat Count |
Total Messages Received |
Total Messages Sent |
@php
// Collect and merge all unique time intervals for Guru IPTV
$guruTimeIntervals = collect($uniqueChatsPerTimeInterval['guru'] ?? [])
->keys()
->merge(array_keys($finalData['guru'] ?? []))
->merge(array_keys($finalSenderData['guru'] ?? []))
->unique()
->sort()
->values();
@endphp
@foreach ($guruTimeIntervals as $timeInterval)
{{ $timeInterval }} |
{{ $uniqueChatsPerTimeInterval['guru'][$timeInterval] ?? 0 }} |
{{ $finalData['guru'][$timeInterval] ?? 0 }} |
{{ $finalSenderData['guru'][$timeInterval] ?? 0 }} |
@endforeach
Tashan IPTV
|
Time Interval |
Unique Chat Count |
Total Messages Received |
Total Messages Sent |
@php
// Collect and merge all unique time intervals
$tashanTimeIntervals = collect($uniqueChatsPerTimeInterval['tashan'] ?? [])
->keys()
->merge(array_keys($finalData['tashan'] ?? []))
->merge(array_keys($finalSenderData['tashan'] ?? []))
->unique()
->sort()
->values();
@endphp
@foreach ($tashanTimeIntervals as $timeInterval)
{{ $timeInterval }} |
{{ $uniqueChatsPerTimeInterval['tashan'][$timeInterval] ?? 0 }} |
{{ $finalData['tashan'][$timeInterval] ?? 0 }} |
{{ $finalSenderData['tashan'][$timeInterval] ?? 0 }} |
@endforeach
Boss IPTV
|
Time Interval |
Unique Chat Count |
Total Messages Received |
Total Messages Sent |
@foreach ($uniqueChatsPerTimeInterval['boss'] as $timeInterval => $uniqueChatCount)
{{ $timeInterval }} |
{{ $uniqueChatCount }} |
{{ isset($finalData['boss'][$timeInterval]) ? $finalData['boss'][$timeInterval] : 0 }} |
{{ isset($finalSenderData['boss'][$timeInterval]) ? $finalSenderData['boss'][$timeInterval] : 0 }} |
@endforeach
@foreach ($finalData['boss'] as $timeInterval => $sentCount)
@if (!isset($uniqueChatsPerTimeInterval['boss'][$timeInterval]))
{{ $timeInterval }} |
0 |
{{ $sentCount }} |
{{ isset($finalSenderData['boss'][$timeInterval]) ? $finalSenderData['boss'][$timeInterval] : 0 }} |
@endif
@endforeach
@foreach ($finalSenderData['boss'] as $timeInterval => $receivedCount)
@if (!isset($finalData['boss'][$timeInterval]) && !isset($uniqueChatsPerTimeInterval['boss'][$timeInterval]))
{{ $timeInterval }} |
0 |
0 |
{{ $receivedCount }} |
@endif
@endforeach
Vois IPTV
|
Time Interval |
Unique Chat Count |
Total Messages Received |
Total Messages Sent |
@php
$voiceTimeIntervals = collect($uniqueChatsPerTimeInterval['voice'] ?? [])
->keys()
->merge(array_keys($finalData['voice'] ?? []))
->merge(array_keys($finalSenderData['voice'] ?? []))
->unique()
->sort()
->values();
@endphp
@foreach ($voiceTimeIntervals as $timeInterval)
{{ $timeInterval }} |
{{ $uniqueChatsPerTimeInterval['voice'][$timeInterval] ?? 0 }} |
{{ $finalData['voice'][$timeInterval] ?? 0 }} |
{{ $finalSenderData['voice'][$timeInterval] ?? 0 }} |
@endforeach
Brampton IPTV
|
Time Interval |
Unique Chat Count |
Total Messages Received |
Total Messages Sent |
@foreach ($uniqueChatsPerTimeInterval['brampton'] as $timeInterval => $uniqueChatCount)
{{ $timeInterval }} |
{{ $uniqueChatCount }} |
{{ isset($finalData['brampton'][$timeInterval]) ? $finalData['brampton'][$timeInterval] : 0 }} |
{{ isset($finalSenderData['brampton'][$timeInterval]) ? $finalSenderData['brampton'][$timeInterval] : 0 }} |
@endforeach
@foreach ($finalData['brampton'] as $timeInterval => $sentCount)
@if (!isset($uniqueChatsPerTimeInterval['brampton'][$timeInterval]))
{{ $timeInterval }} |
0 |
{{ $sentCount }} |
{{ isset($finalSenderData['brampton'][$timeInterval]) ? $finalSenderData['brampton'][$timeInterval] : 0 }} |
@endif
@endforeach
@foreach ($finalSenderData['brampton'] as $timeInterval => $receivedCount)
@if (!isset($finalData['brampton'][$timeInterval]) && !isset($uniqueChatsPerTimeInterval['brampton'][$timeInterval]))
{{ $timeInterval }} |
0 |
0 |
{{ $receivedCount }} |
@endif
@endforeach
Indian IPTV
|
Time Interval |
Unique Chat Count |
Total Messages Received |
Total Messages Sent |
@php
$indianTimeIntervals = collect($uniqueChatsPerTimeInterval['indian'] ?? [])
->keys()
->merge(array_keys($finalData['indian'] ?? []))
->merge(array_keys($finalSenderData['indian'] ?? []))
->unique()
->sort()
->values();
@endphp
@foreach ($indianTimeIntervals as $timeInterval)
{{ $timeInterval }} |
{{ $uniqueChatsPerTimeInterval['indian'][$timeInterval] ?? 0 }} |
{{ $finalData['indian'][$timeInterval] ?? 0 }} |
{{ $finalSenderData['indian'][$timeInterval] ?? 0 }} |
@endforeach