@extends('admin.layout') @section('content')

Dashboard

@php $user_profile_image = Auth()->user()->profile_image ?: NULL; $username = Auth::user()->name; @endphp User Image
{{$user->name}}
{{$user->email}}
{{$user->phone}}
{{$user->staffDetail->id_number}}
{{$user->staffDetail->staff_number}}
{{$user->staffDetail->job_title}}
{{$user->staffDetail->department}}
{{$user->staffDetail->region}}
@if(check_Permission('Dashboard', 'view'))
Total Videos {{$total['videos']}}
Total Subscribers {{$total['subscribers']}}
Total Production Team {{$total['production_team']}}
TV Shows {{$total['tv_shows']}}
Total Staff {{$total['staff']}}
Total M-Pesa Transactions {{$total['transactions']}}
Total PayPal Transactions {{$total['paypal_transactions_count']}}
Total Credit Card Transactions 0
Total Revenue ${{$total['revenue'] + $total['paypal_transactions']}}
Total M-Pesa Payment ${{$total['revenue']}}
Total Paypal Payment ${{$total['paypal_transactions']}}
Total Credit Card Payment $0.0

Weekly Video Report

Videos: {{\Carbon\Carbon::now()->subDay(6)->format('d M,Y')}} - {{\Carbon\Carbon::now()->subDay(0)->format('d M,Y')}}

@endif @endsection @section('custom-scripts') @endsection