@if($filter_type == 'Voice')
| AGENT ID |
AGENT NAME |
CALL ID |
RECORD |
CALLER ID NUMBER |
DATE |
DOWNLOAD |
@forelse($SocialReports ?? [] as $SocialReport)
| {{$SocialReport->user_id}} |
{{$SocialReport->user->first_name}} |
{{$SocialReport->callID}} |
|
{{$SocialReport->voiceReport->callerIDNumber}} |
{{$SocialReport->created_at}} |
|
@empty
| There is no voice found |
@endforelse
@else
| ID |
SOURCE |
USER ID |
USER NAME |
CUSTOMER NAME |
STATUS |
TYPE |
DATE |
VIEW |
@forelse($SocialReports ?? [] as $SocialReport)
| {{$SocialReport->id}} |
{{isset($SocialReport->channel) ? $SocialReport->channel : 'Voice' }} |
{{isset($SocialReport->resource->user) ? $SocialReport->resource->user->username : "-" }} |
{{isset($SocialReport->resource->user) ? $SocialReport->resource->user->first_name ." ".$SocialReport->resource->user->last_name : "-" }} |
{{ $SocialReport->ticketCustomer ? $SocialReport->ticketCustomer->display_name : ($SocialReport->customer && $SocialReport->customer->display_name ? $SocialReport->customer->display_name : 'Unknown') }} |
{{isset($SocialReport->resource->status) ? $SocialReport->resource->status : $SocialReport->status }} |
{{$SocialReport->type}} |
{{$SocialReport->created_at}} |
@if($filter_type=='None_Voice_TKT_Number')
View
@elseif($filter_type=='Voice')
View
@elseif($filter_type=='None_Voice_Social_Number' && $SocialReport->channel=='Email')
View
@elseif($filter_type=='None_Voice_Social_Number' && $SocialReport->channel=='chat')
View
@elseif($filter_type=='None_Voice_Social_Number' && $SocialReport->channel=='Livechat')
View
@elseif($filter_type=='None_Voice_Social_Number' && $SocialReport->channel=='Whatsapp')
View
@elseif($filter_type=='None_Voice_Social_Number')
View
@elseif($filter_type=='Customer_name' && $SocialReport->channel=='Email')
View
@elseif($filter_type=='Customer_name' && $SocialReport->channel=='Livechat')
View
@elseif($filter_type=='Customer_name' && $SocialReport->channel=='Whatsapp')
View
@elseif($filter_type=='Customer_name')
View
@else
@endif
|
@empty
| There is no Ticket found |
@endforelse
@endif
{{-- --}}
@if(!empty($SocialReports))
{{ $SocialReports->links() }}
@endif