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

Dashboard Sistem

{{-- ========================= --}} {{-- CARD BARIS 1 --}} {{-- ========================= --}}
@include('components.card-stat', [ 'color' => 'primary', 'title' => 'Tamu Hari Ini', 'value' => number_format($tamuHariIni), 'icon' => 'users', 'footer' => 'Tanggal ' . now()->translatedFormat('d M Y'), ]) @include('components.card-stat', [ 'color' => 'success', 'title' => 'Total Seluruh Tamu', 'value' => number_format($totalTamu), 'icon' => 'address-book', 'footer' => 'Semua tamu terdaftar', ]) @include('components.card-stat', [ 'color' => 'warning', 'title' => 'Penyelenggara', 'value' => number_format($totalPenyelenggara), 'icon' => 'user-tie', 'footer' => 'Penyelenggara terdaftar', ]) @include('components.card-stat', [ 'color' => 'info', 'title' => 'OPD Terdaftar', 'value' => number_format($totalOpd), 'icon' => 'building', 'footer' => 'Daftar OPD', ])
{{-- ========================= --}} {{-- CARD BARIS 2 --}} {{-- ========================= --}}
@include('components.card-stat', [ 'color' => 'secondary', 'title' => 'Acara Berlangsung', 'value' => number_format($acaraBerlangsung), 'icon' => 'clock', 'footer' => 'Sedang berlangsung sekarang', ]) @include('components.card-stat', [ 'color' => 'primary', 'title' => 'Acara Mendatang', 'value' => number_format($acaraMendatang), 'icon' => 'calendar-plus', 'footer' => 'Belum dimulai', ]) @include('components.card-stat', [ 'color' => 'danger', 'title' => 'Acara Selesai Minggu Ini', 'value' => number_format($acaraSelesaiMinggu), 'icon' => 'calendar-check', 'footer' => 'Rekap minggu berjalan', ]) @include('components.card-stat', [ 'color' => 'dark', 'title' => 'Akun Pengelola', 'value' => number_format($jumlahAdmin), 'icon' => 'user-cog', 'footer' => 'Admin sistem', ])
{{-- ========================= --}} {{-- GRAFIK --}} {{-- ========================= --}}
@include('components.chart', [ 'id' => 'statistikTamu', 'icon' => 'chart-area', 'title' => 'Statistik Tamu 7 Hari Terakhir', ]) @include('components.chart', [ 'id' => 'statistikAcara', 'icon' => 'chart-bar', 'title' => 'Statistik Acara Bulan Ini', ]) @include('components.chart', [ 'id' => 'chartPenyelenggara', 'icon' => 'chart-bar', 'title' => 'Top 5 Penyelenggara Bulan Ini', ]) @include('components.chart', [ 'id' => 'chartAcaraPerBulan', 'icon' => 'chart-line', 'title' => 'Grafik Acara per Bulan (12 Bulan Terakhir)', ]) @include('components.chart', [ 'id' => 'chartOpdPerAcara', 'icon' => 'chart-bar', 'title' => 'OPD Hadir vs Tidak Hadir per Acara', ])
Detail OPD
@endsection @push('pageStyles') @endpush @push('pageScripts') @endpush