@if ($data != null)
@if ($selectedReport == 'evaluation')
@forelse($evaluation_report ?? [] as $data) @empty @endforelse
Reference ID Name User Id Date & Time Source View
{{ $data['referenceID'] }} {{ $data['name'] }} {{ $data['name'] }} {{ $data['created_at'] }} {{ $data['name'] }}
There is no data found
@endif @if ($selectedReport == 'nonvoice')
@forelse($resources ?? [] as $data) @empty @endforelse
Source ID Channel Date & Time the Action Happened Customer Name Status
{{ $data->resource_id }} {{ $data?->resource?->resourceInfo?->channel }} {{ $data->created_at->format('Y-m-d h:i A') }} {{ $data?->resource?->resourceInfo?->customer?->display_name ?? '-' }} {{ $data->action }}
There is no data found
@endif
@else
no report select
@endif
Type

@if ($selectedReport == 'nonvoice')
Non Voice
@elseif ($selectedReport == 'evaluation')
Evaluation
@endif

@if ($selectedReport == 'evaluation')
{{-- --}}
@if ($year)
@endif @if ($month)
@endif @if ($week)
@endif @if ($source)
@endif @if ($referenceID)
@endif @endif @if ($selectedReport == 'nonvoice')
@endif
{{-- @if ($data != null) --}}
{{-- @endif --}}