@extends('admin.layout') @section('custom-style') @endsection @section('content') @php $date = (isset($_GET['date'])) ? $_GET['date'] : ''; @endphp @php $searchText = (isset($_GET['searchText'])) ? $_GET['searchText'] : ''; @endphp

Videos to be reviewed

Videos for review by legal team

@if ($errors->any())
@foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
    @endif @if(\Session::has('error'))
  • {!! \Session::get('error') !!}
  • @endif @if(\Session::has('success'))
  • {!! \Session::get('success') !!}
  • @endif
    @isset($all_videos) @foreach($all_videos as $video) @endforeach @endisset
    S.No. Title Thumbnail Category Type Duration Video created on Uploaded By Status Item for review Action
    {{$loop->iteration}} {{$video->title . " - " . $video->sub_title}} @if(!$video instanceof App\Models\VideoPart) @if(isset($video->landscape_thumbnail)) @endif @else @if(isset($video->thumbnail)) @endif @endif @if($video instanceof App\Models\ls_videos) Live Stream @endif @if(isset($video->getCategories)) @foreach($video->getCategories as $category) @if(isset($category->getCategory->name)) {{$category->getCategory->name}} @endif @endforeach @else Not found @endif @if($video instanceof App\Models\Video) @elseif($video instanceof App\Models\VideoPart) @else @endif @if(!$video instanceof App\Models\VideoPart || !$video instanceof App\Models\ls_videos) {{-- for trailer --}} @if(isset($video->trailer_duration)) @else @endif @endif {{-- for video --}} @if(isset($video->duration)) @else @endif {{$video->updated_at->format('d M, Y')}} @if(optional($video->createdBy)->name) {{$video->createdBy->name}} @else User not found @endif @if($video->status == 'Active') @elseif($video->status == 'In Review') @elseif($video->status == 'Inactive') @else @endif @if(!$video instanceof App\Models\VideoPart || $video instanceof App\Models\ls_videos) @if((!is_null($video->trailer_path) && !$video->legal_team_pass_trailer) && (!is_null($video->video_path) && !$video->legal_team_pass)) @elseif((!is_null($video->trailer_path) && !$video->legal_team_pass_trailer)) @elseif(!is_null($video->video_path) && !$video->legal_team_pass) @endif @else @endif @if(check_Permission('Video Legal Review', 'approve')) @if($video instanceof App\Models\Video) @php $vid_item_type = 'VD'; @endphp @if((!is_null($video->trailer_path) && !$video->legal_team_pass_trailer) && (!is_null($video->video_path) && !$video->legal_team_pass)) @elseif((!is_null($video->trailer_path) && !$video->legal_team_pass_trailer)) @elseif((!is_null($video->video_path) && !$video->legal_team_pass)) @endif @elseif($video instanceof App\Models\VideoPart) @php $vid_item_type = 'EP'; @endphp @if(!is_null($video->video_path) && !$video->legal_team_pass) @endif @else @php $vid_item_type = 'LS'; @endphp @if(!is_null($video->video_path) && !$video->legal_team_pass) @endif @endif @endif
    @endsection @section('custom-scripts') @endsection