Enhance SIDAK with two-way KK-KTP linkage, scanner mobile optimization, NIK validation, and UI improvements
- Implement bidirectional KK-KTP linkage system (address-based & NIK-based) - Optimize scanner for mobile devices (touch slop, larger hit areas, modal locking) - Add NIK validation (16-digit numeric) with client-side feedback - Set default RT/RW values to '000' for both KK and KTP forms - Change 'Kpl Keluarga' label to 'Kepala Keluarga' - Improve scanner error messages and user feedback - Remove redundant 'Deteksi Dokumen' button - Add database schema updates and Docker support files
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
//Mulai Sesion
|
||||
session_start();
|
||||
if (isset($_SESSION["ses_username"])==""){
|
||||
@@ -108,7 +109,7 @@
|
||||
|
||||
<!-- Level -->
|
||||
<?php
|
||||
if ($data_level=="Administrator"){
|
||||
if ($data_level=="admin"){
|
||||
?>
|
||||
<li class="nav-item">
|
||||
<a href="index.php" class="nav-link">
|
||||
@@ -658,10 +659,10 @@
|
||||
}
|
||||
}else{
|
||||
// Auto Halaman Home Pengguna
|
||||
if($data_level=="Administrator"){
|
||||
if($data_level=="admin"){
|
||||
include "home/admin.php";
|
||||
}
|
||||
elseif($data_level=="Kaur Pemerintah"){
|
||||
elseif($data_level=="kaur"){
|
||||
include "home/kaur.php";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user