Skip to content

Commit

Permalink
(#556) Perbaikan data null
Browse files Browse the repository at this point in the history
  • Loading branch information
totoprayogo1916 authored Dec 2, 2023
1 parent b4efc24 commit 8678792
Show file tree
Hide file tree
Showing 31 changed files with 67 additions and 56 deletions.
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_bio_penduduk.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?> " class="inputbox required">
<input type="hidden" name="nik" value="<?php echo $individu['id'] ?? ''?> " class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_izin_keramaian.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_izin_orangtua.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>">
<input type="hidden" name="nik" value="<?php echo $individu['id'] ?? '' ?>">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_jalan.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_kehendak_nikah.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_asalusul.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_beda_nama.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_catatan_kriminal.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_domisili_usaha.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_jual_beli.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_kehilangan.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_kelahiran.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
6 changes: 4 additions & 2 deletions donjo-app/Views/surat/form/surat_ket_kematian.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
<ul>
<?php foreach($menu_surat AS $data){?>
<li <?php if($data['url_surat']==$lap){?>class="selected" <?php }?>>
<a href="<?php echo site_url('surat/' . $data['url_surat']) ?>"><?php echo unpenetration($data['nama'])?></a>
<a href="<?php echo site_url('surat/form/' . $data['url_surat']) ?>">
<?php echo unpenetration($data['nama'])?>
</a>
</li>
<?php }?>
</ul>
Expand All @@ -70,7 +72,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_kurang_mampu.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_lahir_mati.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
4 changes: 2 additions & 2 deletions donjo-app/Views/surat/form/surat_ket_nikah.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<ul>
<?php foreach($menu_surat AS $data){?>
<li <?php if($data['url_surat']==$lap){?>class="selected" <?php }?>>
<a href="<?php echo site_url('surat/' . $data['url_surat']) ?>">
<a href="<?php echo site_url('surat/form/' . $data['url_surat']) ?>">
<?php echo unpenetration($data['nama'])?>
</a>
</li>
Expand All @@ -71,7 +71,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_orangtua.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_penduduk.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</form>
</tr>
<form id="validasi" action="" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?php echo $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_pengantar.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</div>
<div id="form-melengkapi-data-permohonan">
<form id="validasi" action="" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?php echo $individu['id'] ?? '' ?>" class="inputbox required">
<table class="form">
<?php
if($individu){
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_pindah_penduduk.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_ket_usaha.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_keterangan_rahasia.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</br>
<div id="form-melengkapi-data-permohonan">
<form id="validasi" action="" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<table class="form">
<?php
if($individu){
Expand Down
2 changes: 1 addition & 1 deletion donjo-app/Views/surat/form/surat_lap_kehilangan.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
8 changes: 6 additions & 2 deletions donjo-app/Views/surat/form/surat_permohonan_akta.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@
<ul>
<?php foreach($menu_surat AS $data){?>
<li <?php if($data['url_surat']==$lap){?>class="selected" <?php }?>>
<a href="<?php echo site_url('surat/' . $data['url_surat']) ?>"><?php echo unpenetration($data['nama'])?></a></li>
<a href="<?php echo site_url('surat/form/' . $data['url_surat']) ?>">
<?php echo unpenetration($data['nama'])?>
</a>
</li>
<?php }?>
</ul>
</div>
</fieldset>

Expand All @@ -68,7 +72,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
4 changes: 2 additions & 2 deletions donjo-app/Views/surat/form/surat_pernyataan_akta.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<ul>
<?php foreach($menu_surat AS $data){?>
<li <?php if($data['url_surat']==$lap){?>class="selected" <?php }?>>
<a href="<?php echo site_url('surat/' . $data['url_surat']) ?>">
<a href="<?php echo site_url('surat/form/' . $data['url_surat']) ?>">
<?php echo unpenetration($data['nama'])?>
</a>
</li>
Expand All @@ -71,7 +71,7 @@
</form>
</tr>
<form id="validasi" action="<?php echo $form_action?>" method="POST" target="_blank">
<input type="hidden" name="nik" value="<?php echo $individu['id']?>" class="inputbox required">
<input type="hidden" name="nik" value="<?= $individu['id'] ?? '' ?>" class="inputbox required">
<?php if($individu){ ?>
<tr>
<th>Tempat Tanggal Lahir (Umur)</th>
Expand Down
5 changes: 4 additions & 1 deletion donjo-app/Views/surat/form/surat_persetujuan_mempelai.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
<ul>
<?php foreach($menu_surat AS $data){?>
<li <?php if($data['url_surat']==$lap){?>class="selected" <?php }?>>
<a href="<?php echo site_url('surat/' . $data['url_surat']) ?>"><?php echo unpenetration($data['nama'])?></a></li>
<a href="<?php echo site_url('surat/form/' . $data['url_surat']) ?>">
<?php echo unpenetration($data['nama'])?>
</a>
</li>
<?php }?>
</ul>
</div>
Expand Down
Loading

0 comments on commit 8678792

Please sign in to comment.