@extends('admin.layout') @section('custom-style') @endsection @section('content')

Videos

Add New Video Part

@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
    {{csrf_field()}}
    Episode Thumbnail
    Episode Thumbnail
    0%

    All Videos

    @if(isset($videos)) @foreach($videos as $video) @endforeach @endif
    S.No. Title Potrait Thumbnail Landscape Thumbnail Duration PPV Type Status Total Views Paid Views Likes Dislikes Content Acceptance Commission (USD) PPV Revenue (USD) Ad Revenue (USD) Created on Action
    {{$loop->iteration}} {{$video->title . " - " . $video->sub_title}} @if(isset($video->getRating->image)) @endif @if(isset($video->duration)) @if($video->in_compression_mode) @else @endif @else @endif @if($video->ppv_listing_type == 'Free View') @elseif($video->ppv_listing_type == 'Pay Per View') @endif @if($video->status == 'Active') @elseif($video->status == 'In Review') @elseif($video->status == 'Inactive') @else @endif @if($video->in_compression_mode)
    In Processing @endif @if($video->status == 'Inactive' && is_null($video->video_path) && (!$video->in_compression_mode))
    Upload a Video @endif
    {{\app\Models\VideoPart::getViews($video->id)}} {{\app\Models\VideoPart::getPaidViews($video->id)}} @if($video->getLikesDislikes) {{$video->getLikesDislikes->likes}} @else 0 @endif @if($video->getLikesDislikes) {{$video->getLikesDislikes->dislikes}} @else 0 @endif @if(is_null($video->cac_status)) {{number_format($video->cac_amount, 2, '.', ',')}} @else @if($video->cac_status == 'Pending') {{number_format($video->cac_amount, 2, '.', ',')}} @elseif($video->cac_status == 'Allocated') {{number_format($video->cac_amount, 2, '.', ',')}} @elseif($video->cac_status == 'Applied') {{number_format($video->cac_amount, 2, '.', ',')}} @elseif($video->cac_status == 'Processed') {{number_format($video->cac_amount, 2, '.', ',')}} @endif @endif {{number_format($video->ppv_revenue, 2, '.', ',')}} {{number_format($video->ad_revenue, 2, '.', ',')}} {{$video->created_at->format('d M, Y')}} @if(check_Permission('Video Gallery', 'edit')) @endif @if(check_Permission('Video Gallery', 'delete')) @endif
    @endsection @section('custom-scripts') @endsection