@extends('layout.app') @section('title', 'Kelola Area - Sistem Manajemen ISP') @section('content') add Tambah Area
@php use App\Models\Area; $totalArea = Area::count(); $totalProvinsi = Area::distinct()->count('provinsi'); $totalKabupaten = Area::distinct()->count('kabupaten_kota'); $totalKecamatan = Area::distinct()->count('kecamatan'); $totalDesa = Area::distinct()->count('desa_kelurahan'); @endphp
map Daftar Area
download Export
search
@if(request()->anyFilled(['search', 'provinsi', 'kabupaten_kota', 'kecamatan'])) @endif
@forelse($areas as $index => $area) @empty @endforelse
No Provinsi Kabupaten/Kota Kecamatan Desa/Kelurahan Kode Pos Koordinat Aksi
{{ $areas->firstItem() + $index }}
map
{{ $area->provinsi }}
{{ $area->kabupaten_kota }} {{ $area->kecamatan }} {{ $area->desa_kelurahan }} @if($area->kode_pos) {{ $area->kode_pos }} @else - @endif @if($area->koordinat) location_on Ada @else - @endif
map

Belum ada area

Mulai dengan menambahkan area pertama

add Tambah Area Pertama
@if($areas->hasPages()) @endif
@endsection @section('scripts') @endsection