@extends('admin.layouts.admin') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @section('content') {{-- Stats Grid --}}
{{-- Total Students --}}

Toplam Ogrenci

{{ number_format($stats['total_students']) }}

{{-- Active Contracts --}}

Aktif Sozlesme

{{ number_format($stats['active_contracts']) }}

{{-- Occupancy Rate --}}

Doluluk Orani

%{{ $stats['occupancy_rate'] }}

{{-- Last 24h Logins --}}

Son 24s Giris

{{ number_format($stats['logins_24h']) }}

{{-- Second row --}}
{{-- Buildings --}}

Bina

{{ $stats['total_buildings'] }}

{{-- Rooms --}}

Oda

{{ $stats['total_rooms'] }}

{{-- Beds --}}

Yatak (Dolu / Toplam)

{{ $stats['occupied_beds'] }} / {{ $stats['total_beds'] }}

{{-- Open Tickets --}}

Acik Destek Talepleri

{{ $stats['open_tickets'] }}

{{-- Third row: Integrations + Recent Syncs --}}
{{-- Integrations summary --}}

Entegrasyonlar

SMS Saglayicilari
{{ $stats['sms_providers'] }}
Sanal POS Saglayicilari
{{ $stats['pos_providers'] }}
Aktif Bakim Talepleri
{{ $stats['active_maintenance'] }}
{{-- Recent Syncs --}}

Son Senkronizasyonlar

Tumunu Gor
@if($recentSyncs->isEmpty())

Henuz senkronizasyon yapilmamis.

@else
@foreach($recentSyncs as $sync)
{{ strtoupper($sync->direction) }} {{ $sync->status === 'success' ? 'Basarili' : 'Hata' }}
{{ $sync->created_at->diffForHumans() }}
@endforeach
@endif
@endsection