@php $baseUrl = route('platform.mystery.assessor.allocate'); @endphp
Allocate access and quality assessors after mystery shopper allocation. Scenario and shopper details stay visible here for context.
@if($availableMonths->isEmpty())
No pending assignment months were found for this sector.
@elseif($businesses->isEmpty())
No assignments were found for the selected sector and month.
@else
@for($callNumber = 1; $callNumber <= $maxCallCount; $callNumber++) @endfor @foreach($businesses as $business) @php $assignment = $assignmentsByBusiness->get($business->id); $callsByNumber = $assignment?->calls?->keyBy('call_number') ?? collect(); @endphp @for($callNumber = 1; $callNumber <= $maxCallCount; $callNumber++) @php $call = $callsByNumber->get($callNumber); @endphp @endfor @endforeach
BusinessCall {{ $callNumber }}
{{ $business->name }} @if($call)
Scenario {{ $call->scenario_number ?? 'N/A' }} | Mystery Shopper: {{ $call->mysteryShopper->name ?? 'Unassigned' }}
@else No scenario call set @endif
@endif