@extends('includes.layouts.admin') @section('page-title') Dashboard @endsection @section('content')

Dashboard

@php $total_companies = \App\Models\User::role( \App\Models\User::SUBADMIN)->count(); @endphp

17

Number of Customers

{{-- {{ route('admin.agent.index', ['form' => 'approved']) }} --}} More info
@php $total_user = \App\Models\Companie::count(); @endphp

{{$total_user}}

Number of Companies

{{-- {{ route('admin.agent.index', ['form' => 'received']) }} --}} More info
@php $total_package = \App\Models\Package::count(); @endphp

{{$total_package}}

Number of Packages

More info
@php $total_service = \App\Models\Addonservice::count(); @endphp

{{$total_service}}

Number of Services

More info
{{--

Sales

View Report

$0.00 Sales Over Time

33.1% Since last month

--}} {{--

Circle

View Report
--}}
{{-- Need ti implement this pie chart --}} {{-- https://www.w3schools.com/js/tryit.asp?filename=tryai_chartjs_doughnut --}} {{-- https://www.w3schools.com/ai/ai_chartjs.asp --}} @endsection