@extends('layouts.app', ['pageSlug' => 'dashboard']) @section('content')
Welcome, Main Admin!

{{$deviceInfo['downAll']}}
Highsites Down
{{$deviceInfo['bad_latency_highsite']}}
Highsite Bad Latency
{{$deviceInfo['bad_latency_client']}}
Client Bad Latency
@if(isset($authuser->role) && ($authuser->role->roleName->role == 'manager' || $authuser->role->roleName->role == 'admin'))
{{$net_down ?? '' ?? ''}}
Net Downs
{{$bad_latency ?? ''}}
Bad Latency
{{$offlinecount ?? ''}}
Offline Users
{{$pptplog != null ? $pptplog->count() : 0}}
PPTP Users
@endif @if(isset($authuser->role) && ($authuser->role->roleName->role == 'manager' || $authuser->role->roleName->role == 'admin'))
Finance
@if(isset($authuser->role) && $authuser->role->roleName->role == 'admin') @endif
@if(isset($authuser->role) && $authuser->role->roleName->role == 'admin')
Current Month Total Invoices{{number_format($financeInfo['currentMonth']['total'], 2)}} / {{number_format($financeInfo['approvedcurrentMonth']['total'], 2)}} / {{number_format($financeInfo['pendingcurrentMonth']['total'], 2)}} Today{{number_format($financeInfo['currentMonth']['today'], 2, '.', ' ')}} / {{number_format($financeInfo['approvedcurrentMonth']['today'], 2, '.', ' ')}} / {{number_format($financeInfo['pendingcurrentMonth']['today'], 2, '.', ' ')}} 1st -10th{{number_format($financeInfo['currentMonth']['firstTen'], 2, '.', ' ')}} / {{number_format($financeInfo['approvedcurrentMonth']['firstTen'], 2, '.', ' ')}} / {{number_format($financeInfo['pendingcurrentMonth']['firstTen'], 2, '.', ' ')}} 11th-20th{{number_format($financeInfo['currentMonth']['secondTen'], 2, '.', ' ')}} / {{number_format($financeInfo['approvedcurrentMonth']['secondTen'], 2, '.', ' ')}} / {{number_format($financeInfo['pendingcurrentMonth']['secondTen'], 2, '.', ' ')}} 21st-last{{number_format($financeInfo['currentMonth']['lastTen'], 2, '.', ' ')}} / {{number_format($financeInfo['approvedcurrentMonth']['lastTen'], 2, '.', ' ')}} / {{number_format($financeInfo['pendingcurrentMonth']['lastTen'], 2, '.', ' ')}} Last month Total Invoices{{number_format($financeInfo['lastMonth']['total'], 2)}} / {{number_format($financeInfo['approvedlastMonth']['total'], 2)}} / {{number_format($financeInfo['pendinglastMonth']['total'], 2)}} 1st -10th{{number_format($financeInfo['lastMonth']['firstTen'], 2, '.', ' ')}} / {{number_format($financeInfo['approvedlastMonth']['firstTen'], 2, '.', ' ')}} / {{number_format($financeInfo['pendinglastMonth']['firstTen'], 2, '.', ' ')}} 11th-20th{{number_format($financeInfo['lastMonth']['secondTen'], 2, '.', ' ')}} / {{number_format($financeInfo['approvedlastMonth']['secondTen'], 2, '.', ' ')}} / {{number_format($financeInfo['pendinglastMonth']['secondTen'], 2, '.', ' ')}} 21st-last{{number_format($financeInfo['lastMonth']['lastTen'], 2, '.', ' ')}} / {{number_format($financeInfo['approvedlastMonth']['lastTen'], 2, '.', ' ')}} / {{number_format($financeInfo['pendinglastMonth']['lastTen'], 2, '.', ' ')}}
@endif
@endif

All Year Invoice Graph

All Year Customer Expiration Graph

Invoice Graph(Yearly)

Year :

Customer Expiration Graph(Yearly)

Year :
@endsection @push('js') @endpush