@if($group?->subjects->count() > 0)
@foreach ($group?->subjects as $subject)
-
@if(!empty($subject?->pivot?->image) && Storage::disk(getStorageDisk())->exists($subject?->pivot?->image))
@else
@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