@if (session('toast')) @endif {{ env('APP_NAME') }} | DTR | Dashboard {{-- --}} {{-- --}} {{-- @vite(['resources/js/scanner.js']); --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}

Daily Attendance

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

Top 3 Attendance

{{ \Carbon\Carbon::now()->format('F Y') }}

@php $totals = [ ['label' => 'Total Scans', 'number' => $totalScans], ['label' => 'Total Registered', 'number' => $totalRegister], ['label' => 'Time In', 'number' => $totalTimeIn], ['label' => 'Time Out', 'number' => $totalTimeOut], ]; @endphp
@foreach ($totals as $total)

{{ $total['label'] }}

{{ $total['number'] }}

@endforeach

Recently Added Users

@forelse ($recentlyAddedUser as $index => $user) @if ($user['role'] != 'admin')

{{ $user['fullname'] }}

{{ $user['ago'] }}

@elseif($index <= 0)
No user yet.
@endif @empty
No user yet.
@endforelse