@extends('layouts.admin') @section('content')

Available Learning Modules

Back to Client
@csrf @method('PUT')

Select the modules to assign to this client

@if($tierModules->isNotEmpty())
Select All Deselect All
@foreach($tierModules as $tier => $modules)

{{ $tier }}

Select All in Tier Deselect All in Tier
@foreach($modules as $module)
id, $clientModules) ? 'checked' : '' }} class="module-checkbox w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 dark:focus:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600" data-tier="{{ $module->tier_id }}">
@if($module->description)
{!! $module->description !!}
@endif
Tier {{ $module->tier_id }}
Completions: {{ $module->completion_count ?? 0 }}
@if(($module->completion_count ?? 0) > 0) Active @else No Activity @endif
@endforeach
@endforeach
@else

No learning modules available. Please create modules first.

@endif
Save Module Assignments Cancel
@push('scripts') @endpush @endsection