@extends('admin.layout') @section('custom-style') @endsection @section('content') Video Categories TV Shows All All Video Categories @if(check_Permission('TV Shows', 'create')) Add New Video Category @endif @if(\Session::has('delete')) {!! \Session::get('delete') !!} @endif S.No. Category Name Category Slug Parent Category Mobile Design Desktop Design Action @if(isset($categories)) @foreach($categories as $category) {{$_SESSION['i']}} {{$category->name}} {{$category->slug}} @if(isset($category->parent_id)) {{$category->subcategory->name}} @else None @endif @if($category->mobile_design == 'Horizontal') Landscape @elseif($category->mobile_design == 'Verticle') Portrait @endif @if($category->desktop_design == 'Horizontal') Landscape @elseif($category->desktop_design == 'Verticle') Portrait @endif @if(check_Permission('TV Shows', 'view')) @endif @if(check_Permission('TV Shows', 'edit')) @endif @if(check_Permission('TV Shows', 'delete')) @endif @if(count($category->subcategory)) @include('admin.category.subCategoryList',['subcategories' => $category->subcategory]) @endif @endforeach @endif @endsection @section('custom-scripts') @endsection