diff --git a/index.php b/index.php index 8ce2c63..4fc7f17 100644 --- a/index.php +++ b/index.php @@ -2263,8 +2263,9 @@ if ($res && $row = mysqli_fetch_assoc($res)) { `; } else if (APP_STATE.activeTab === 'analysis') { + const totalAll = POOR_RESIDENTS.length; html = `
-

Cakupan Bantuan

${totalPts > 0 ? ((covered / totalPts) * 100).toFixed(1) : 0}%
+

Cakupan Bantuan

${totalAll > 0 ? ((covered / totalAll) * 100).toFixed(1) : 0}%

Di Luar Jangkauan

${uncovered}
Rekomendasi
✅ Perluas buffer dengan pos bantuan baru
✅ Fokus pada kecamatan dengan kerapatan tinggi
✅ Tambah rumah ibadah di area kosong