@extends('layouts.base') @section('title','Restaurant onboarding') @section('body') @php($canEdit=$partner->programme_type === 'onboarding' && in_array($workflow->status,['assigned','in_progress'],true))
@include('layouts.messages')← My assignments

Restaurant onboarding

{{ $workflow->companyName }}

Restaurant contact: {{ $workflow->phoneNumber ?: 'Contact Menulyn for details' }}

{{ ucfirst(str_replace('_',' ',$workflow->status)) }}
@if(!$canEdit)
@if($workflow->status === 'completed')This onboarding has been confirmed as complete. Contact Menulyn if it needs to be reopened.@elseif($workflow->status === 'awaiting_review')Your completion request is under review. Further edits are paused until Menulyn returns it for changes.@elseThis assignment is currently read-only.@endif
@endif

Setup checklist · {{ $workflow->progress_percent }}%

System checks use restaurant data and are refreshed by Menulyn. Add a clear note for each manual check. Optional items may be marked not applicable with a reason.

@forelse($items as $item)

{{ $item->label }}

{{ $item->kind === 'system' ? 'System check' : 'Manual confirmation' }} · {{ $item->required ? 'Required' : 'Optional' }}
{{ ucfirst(str_replace('_',' ',$item->status)) }}
@if($item->note)

{{ $item->note }}

@endif @if($item->kind === 'system')@php($evidence=json_decode($item->evidence ?? 'null',true))@if($evidence)
{{ $evidence['message'] ?? $evidence['reason'] ?? $evidence['pending'] ?? 'Checked against restaurant records.' }}@if(isset($evidence['id']) || isset($evidence['business_id']))
Record #{{ $evidence['id'] ?? $evidence['business_id'] }}@endif @if(isset($evidence['category_id'])) · Category #{{ $evidence['category_id'] }}@endif @if($item->checked_at)
Last checked {{ \Illuminate\Support\Carbon::parse($item->checked_at)->format('j M Y H:i') }}@endif
@else

Waiting for restaurant data to be checked.

@endif @elseif($canEdit)
@csrf
@endif
@empty

Menulyn is preparing the checklist for this assignment.

@endforelse
@if($canEdit)

Add a progress note

@csrf

Ready for review?

Complete every required check and record a disposition for optional items. Menulyn will validate the checklist before accepting your submission.

@csrf
@endif

Your progress requests

Queued requests are processed shortly. Reload this page to see their result.

@forelse($requests as $record)@empty@endforelse
SubmittedStatusResult
{{ \Illuminate\Support\Carbon::parse($record->created_at)->format('j M Y H:i') }}{{ ucfirst($record->status) }}{{ $record->response ?: 'Waiting for processing' }}
No progress requests yet.
Reload assignment

Assignment activity

@endsection