@slot('title') {{ __('subject.subject_title') }} @endslot @include('livewire.pages.tutor.manage-sessions.tabs')
@if($isLoading) @include('skeletons.manage-subject') @else @if($subjectGroups->isNotEmpty())

{{ __('subject.subject_title') }}

{{ __('subject.subject_title_desc') }}

@foreach ($subjectGroups as $index => $group)
$index != 0]) id="heading-{{ $group?->id }}" data-bs-toggle="collapse" data-bs-target="#collapse-{{ $group?->id }}" aria-expanded="{{ $index == 0 ? 'true': 'false' }}">

{{ $group->group->name }}

$index == 0]) data-bs-parent="#subjectList">
@if($group?->subjects->count() > 0)
    @foreach ($group?->subjects as $subject)
  • @if(!empty($subject?->pivot?->image) && Storage::disk(getStorageDisk())->exists($subject?->pivot?->image)) {{ $subject?->name }} @else {{ $subject?->name }} @endif

    {!! $subject?->name !!}

    @if (isPaidSystem()) {{ __('subject.hourly_rate') }} {{ formatAmount($subject?->pivot?->hour_rate ?? 0) }} @endif
    @if(!empty($subject?->pivot?->description))

    {!! $subject?->pivot?->description !!}

    @endif
  • @endforeach
@endif @if(!empty(array_diff_key($subjects, $this->getUserGroupSubject($group?->id))))
@endif
@endforeach
@else @endif @endif
@push('styles') @vite([ 'public/summernote/summernote-lite.min.css', ]) @endpush @push('scripts') @endpush