@if (session('success'))
{{ session('success') }}
@endif @php $badge = match ($restaurant->status) { 'pending' => ['warning', 'Pending Approval'], 'rejected' => ['danger', 'Rejected'], 'blocked' => ['danger', 'Blocked'], 'banned' => ['dark', 'Banned'], default => ['secondary', ucfirst($restaurant->status)], }; @endphp {{ $badge[1] }}
{{ $restaurant->name }}
@if ($restaurant->status === 'pending')

Thanks for registering! Your KYC details are under review. You'll be able to access the panel (menu, orders, earnings) as soon as an admin approves your account.

@elseif ($restaurant->status === 'rejected')

Your registration was rejected. Please contact support for details.

@elseif ($restaurant->status === 'blocked')

Your account has been temporarily blocked. Please contact support.

@elseif ($restaurant->status === 'banned')

Your account has been permanently banned.

@endif
@csrf