@extends('layout.mainlayout') @section('content')
@component('components.page-header') @slot('title') Dashboard @endslot @slot('li_1') Doctor Dashboard @endslot @endcomponent

Good Morning, Dr.Smith Wayne

Have a nice day at work

@php $json = file_get_contents(public_path('../public/assets/json/doctor-dashboard.json')); $dashboards = json_decode($json, true); @endphp @foreach ($dashboards as $dashboard)

@if($dashboard['title'] === 'Earnings') ${{ $dashboard['count'] }} @else {{ $dashboard['count'] }} @endif{{ $dashboard['total'] }}{{ $dashboard['percentageChange'] }}

{{ $dashboard['title'] }}
@endforeach

Income

$ 20,560

40% vs last month

@livewire('select-dashboard')
New Patients

5660%

Old Patients

35-20%

@livewire('doctor-dashboard')
@component('components.notification-box') @endcomponent
@endsection