@extends('layouts.app') @section('title', 'Sub Admin Wizard — Preview') @section('page-title', 'Create Sub Admin') @section('breadcrumb', 'Wizard / Step 6 — Preview') @section('content')
Details
{{ $data['details']['name'] ?? '—' }}
{{ $data['details']['email'] ?? '—' }}
@if(!empty($data['details']['phone'])){{ $data['details']['phone'] }}
@endifRole
@php $role = \App\Models\Role::find($data['role_id'] ?? null); @endphp{{ $role?->name ?? '—' }}
Courses
@php $courseCount = count($data['course_ids'] ?? []); @endphp{{ $courseCount ?: 'All' }}
{{ $courseCount ? 'scoped courses' : 'full access' }}
Bundles
@php $bundleCount = count($data['bundle_ids'] ?? []); @endphp{{ $bundleCount ?: 'All' }}
{{ $bundleCount ? 'scoped bundles' : 'full access' }}
Communities
@php $communityCount = count($data['community_ids'] ?? []); @endphp{{ $communityCount ?: 'All' }}
{{ $communityCount ? 'scoped communities' : 'full access' }}