Enhancement: Complete overhaul of SIDAK application

- Report: Added printable reports for all categories.
- Dashboard: Fixed broken links and implemented gender balance filtering.
- Logic: Auto-integration of Arrivals and Births into Resident/KK data.
- Fix: Solved deletion popup bug in Birth Data.
- Feature: Added Full KK History view.
- Feature: Implemented Dynamic Village Profile for letter templates.
This commit is contained in:
2026-01-18 16:25:38 +08:00
parent a10d6f70fb
commit 74b8f572a2
25 changed files with 841 additions and 102 deletions

View File

@@ -27,9 +27,16 @@
<?php
$no = 1;
// Filter logic
$sql_filter = "";
if(isset($_GET['jekel'])){
$jk = mysqli_real_escape_string($koneksi, $_GET['jekel']);
$sql_filter = " AND p.jekel='$jk'";
}
$sql = $koneksi->query("SELECT p.id_pend, p.nik, p.nama, p.jekel, p.desa, p.rt, p.rw, a.id_kk, k.no_kk, k.kepala from
tb_pdd p left join tb_anggota a on p.id_pend=a.id_pend
left join tb_kk k on a.id_kk=k.id_kk where status='Ada'");
left join tb_kk k on a.id_kk=k.id_kk where status='Ada' $sql_filter");
while ($data= $sql->fetch_assoc()) {
?>