@extends('layouts.app') @section('content') @if (session('success')) @endif @if (session('error')) @endif

Total Kab/Kota

{{ count($kabKota) }}

Sudah Ter-mapping

{{ $kabKota->where('kcd_code', '!=', null)->count() }}

Belum Ter-mapping

{{ $kabKota->where('kcd_code', null)->count() }}

Jawa Barat

19 Kab + 9 Kota

Daftar Kab/Kota
@forelse($kabKota as $idx => $item) @empty @endforelse
No Nama Kab/Kota KCD Mapping Status Aksi
{{ $idx + 1 }} {{ $item->name }} @if($item->kcd) {{ $item->kcd->name }} @else Belum di-mapping @endif @if($item->is_active) Aktif @else Nonaktif @endif
Belum ada data Kab/Kota
@endsection