@extends('layouts.master') @section('title',__('Dashboard')) @section('maincontent') @section('breadcum') @endsection
@can('dashboard.states')
@csrf

{{$users_count}}

{{ __('Users') }}

{{ $activeusers }}

{{ __('Total Active Users') }}

{{$movies_count}}

{{ __('Total Movies') }}

{{$tvseries_count}}

{{__('Total Tv Serieses')}}

{{$livetv_count}}

{{__('Total Live Tv')}}

{{$package_count}}

{{__('Total Packages')}}

{{$coupon_count}}

{{__('Total Coupons')}}

{{$genres_count}}

{{__('Total Genres')}}

{{$movieslw}}

{{ __('Top 10 Movies') }}

{{--

{{$seasonlw}}

{{ __('Top 10 Seasons') }}

--}}
{{__('Active Subscribed Users in ' . date('Y'))}}
{!! $activesubsriber->container() !!}
{{__('User Distribution')}}
{!! $piechart->container() !!}
{{__('Revenue Report')}}
@if ($revenue_report) @foreach ($revenue_report as $key => $report) @endforeach @endif
{{ __('#') }} {{__('Payment ID')}} {{__('UserName')}} {{__('Payment Method')}} {{__('Paid Amount')}} {{__('Subscription From')}} {{__('Subscription To')}}
{{$key+1}} {{$report->payment_id}} {{ucfirst($report->user_name)}} {{$report->method}} {{$report->price}} {{$report->subscription_from}} {{$report->subscription_to}}

{{__('Video Distributions')}}
{!! $doughnutchart->container() !!}
{{__('Monthly Registered Users in ' . date('Y'))}}}
{!! $userchart->container() !!}
{!! $revenue_chart->container() !!}
@endcan
@endsection @section('script') {!! $userchart->script() !!} {!! $activesubsriber->script() !!} {!! $piechart->script() !!} {!! $doughnutchart->script() !!} {!! $revenue_chart->script() !!} @endsection