@include('message.messages')
{{--
@error('institution_id') {{ $errors->first('institution_id') }} @enderror
--}}
@error('name') {{ $errors->first('name') }} @enderror
@error('course_id') {{ $errors->first('course_id') }} @enderror

@error('image') {{ $errors->first('image') }} @enderror
@error('description') {{ $errors->first('description') }} @enderror
@error('sort') {{ $errors->first('sort') }} @enderror
@error('status') {{ $errors->first('status') }} @enderror


@forelse ($commonProducts as $commonProduct) @empty @endforelse
Product Name Course Name Course Slug Image Description Sort Status Actions
@if ($commonProduct->canDelete()) id, $selectedItems) ? 'checked' : '' }}> @endif {{ $commonProduct->name}} {{ $commonProduct->course->course_name ?? '' }} - ({{ $commonProduct->course->course_code ?? '' }}) {{ $commonProduct->course->course_code_slug ?? '' }} {{ $commonProduct->description }} {{ $commonProduct->sort }} {!! statusHtml($commonProduct->status) !!}   @if ($commonProduct->canDelete())   @endif
{{ noData() }}
{{ $commonProducts->links() }}