id, $invalidContentIds)) class="table-danger @if($isBarInactive) bar-inactive-row @endif" @elseif($isBarInactive) class="bar-inactive-row" @endif
>
|
{{ $content->id }}
|
@if (canUserAccess('manage-content'))
@php
$contentState = $bar->contentsStates
->where('contents_id', $content->id)
->first();
@endphp
|
contentsStates->where('contents_id', $content->id)->first())->id ?? $content->id, old('contentstate_id')))
checked
@endif
@if($isBarInactive) disabled @endif
>
|
@endif
|
{{ $content->podcast_title }}
|
@php
$selectedSpecialty = $barContentSpecialties[$content->id] ?? '';
@endphp
|
{{-- {{ $content->approve_state_name }} | --}}
{{ $content->lengthOfPodcast() }} mins
|
{{ $content->contentFiles->count() }}
|
{{-- {{ $content->created_at }} | --}}
{{ $content->category?->name }} |
{{ $content->published_on }}
|
@endforeach
@if ($contents->total() == 0)