@php $showCreateBatchModal = request()->boolean('create') || old('_batch_form') === 'create'; $showEditBatchModal = old('_batch_form') === 'edit'; @endphp

Admin ยท Course Batches

Batches

Manage batches for: {{ $course->title }}

@can('create', \Modules\Batch\Models\Batch::class) @endcan
@push('styles') @endpush

{{ $course->title }} Batch List

Students, mentors and class status for this course.

Course Details
SL Name Dates Status Mentors Students Classes Actions
@can('create', \Modules\Batch\Models\Batch::class)

New Batch

Create batch

This batch will be added under {{ $course->title }}.

@include('batch::admin.batches.partials.create-form', [ 'modalName' => 'create-batch', 'includeCourseSelect' => false, 'course' => $course, ])
@endcan @can('editBatch') @include('batch::admin.batches.partials.edit-modal', [ 'modalName' => 'edit-batch', 'show' => $showEditBatchModal, ]) @endcan @push('scripts') @endpush