@if ($reportData != null) @if($subType=='Chatbot' )
@forelse($reportData as $resource) @empty @endforelse
Channel Type Rate To Value Rate Comment Created At
{{ $resource->bot_id != null ? $resource->botResource->botResourceInfo->channel : $resource->resource->resourceInfo->channel }} {{ $resource->bot_id != null ? 'Bot':'Agent' }} {{ $resource->bot_id != null ? $resource->botResource->bot_id : $resource->resource->user_id }} {{ $resource->rate_value }} {{ $resource->rate_title }} {{ $resource->comment }} {{$resource->created_at->format('M d, y H:i:s')}}
There is no data found
@elseif($subType=='csat') @if($subType2 =='Avg' )
@forelse($reportData as $resource) @empty @endforelse
Channel Agent Account Rate */5
{{ $resource->channel}} {{ $resource->user_id ? $resource->user->first_name ." ". $resource->user->last_name : '-'}} {{ $resource->account_name}} {{ $resource->average_satisfaction}}
There is no data found
@else
@forelse($reportData as $resource) @empty @endforelse
Resource ID Channel Type Agent Account Customer Account Customer Name Date Rate */5
{{ $resource->id}} {{ $resource->channel}} {{ $resource->type}} {{ $resource->user_id ? $resource->user->first_name ." ". $resource->user->last_name : '-'}} {{ $resource->account_name}} {{ $resource->username}} {{ $resource->display_name}} {{ $resource->created_at}} {{ $resource->average_satisfaction}}
There is no data found
@endif @else
@forelse($reportData as $resource=>$value) @empty @endforelse
Location Rate
{{\App\Models\Tenant\GoogleReviewLocation::where('location_id',$resource)->first()->location_name}} {{$value}}/5
There is no data found
@endif @else
no report select
@endif
Type

Channels

{{-- --}} @if($subType == "csat")
Source

@endif @if($subType2 != null)
Platform

@endif
@if($subType != null && $subType != "csat")
@endif @if($subType3 != null && $subType == "csat")
@endif