@extends('layouts.page') @section('title','Dashboard') @section('content')

Dashboard

@php $loginUser = Auth::user(); @endphp
@if(empty($loginUser))
Users {{ number_format($beCount + $abmCount + $rbmCount + $smCount) }}
SM {{ number_format($smCount) }}
@endif @if(@$loginUser->user_type == '1' || empty($loginUser))
RBM {{ number_format($rbmCount) }}
@endif @if(@$loginUser->user_type == '1' || @$loginUser->user_type == '2' || empty($loginUser))
ABM {{ number_format($abmCount) }}
@endif @if(@$loginUser->user_type != '4' || empty($loginUser))
BE {{ number_format($beCount) }}
@endif
Doctor {{ number_format($doctor) }}
DPM Form {{ number_format($dpmCount) }}
Last Month DPM {{ number_format($dpmPrevCount) }}
@endsection