@extends('layouts.main') @section('content')

Data Sebaran Customer

Total Customer
{{ $totalCustomers }}
Customer
Dengan Lokasi
{{ $customersWithLocation }}
{{ $totalCustomers > 0 ? round(($customersWithLocation / $totalCustomers) * 100, 1) : 0 }}%
Tanpa Lokasi
{{ $customersWithoutLocation }}
Perlu Update
Customer Aktif
{{ $activeCustomers }}
Active
Peta Sebaran Customer
@if($customers->count() > 0)
Menampilkan {{ $customersWithLocation }} customer dengan data lokasi. Klik marker untuk melihat detail customer.
@else
Belum Ada Data Lokasi Customer

Pastikan customer memiliki data latitude dan longitude

Kelola Data Customer
@endif
@endsection @push('scripts') @if($customers->count() > 0) @endif @endpush