예제 #1
0
 $ntpengabdian = getntpengabdian($pengabdian);
 $ntistrianak = getntistrianak($istrianak);
 $ntuangtransport = getntuangtransport($uangtransport);
 $ntbebantugas = getntbebantugas($bebantugas);
 $ntwalikelas = getntwalikelas($walikelas);
 ///////////////////////////////////////////
 if (!$dgajipokok) {
     $dgajipokok = getgajipokok($golongan);
     $dtstruktural = gettstruktural($struktural, $dgajipokok);
     $dtfungsional = gettfungsional($fungsional, $dgajipokok);
     $dtpengabdian = gettpengabdian($pengabdian, $dgajipokok);
     $dtistrianak = gettistrianak($istrianak, $dgajipokok);
     $dtuangtransport = gettuangtransport($uangtransport, $dgajipokok);
     $dtbebantugas = gettbebantugas($bebantugas, $dgajipokok);
     $dtwalikelas = gettwalikelas($walikelas, $dgajipokok);
     $djamsostek = getjamsostek($dgajipokok, $dtstruktural, $dtfungsional, $dtpengabdian);
     $dpph21 = getpph21($dgajipokok);
 }
 $hasil2 = $koneksi_db->sql_query("SELECT * FROM hrd_setting limit 1");
 $data2 = $koneksi_db->sql_fetchrow($hasil2);
 $gajipokok = !isset($gajipokok) ? $dgajipokok : $gajipokok;
 $tstruktural = !isset($tstruktural) ? $dtstruktural : $tstruktural;
 $tfungsional = !isset($tfungsional) ? $dtfungsional : $tfungsional;
 $tpengabdian = !isset($tpengabdian) ? $dtpengabdian : $tpengabdian;
 $tistrianak = !isset($tistrianak) ? $dtistrianak : $tistrianak;
 $tuangtransport = !isset($tuangtransport) ? $dtuangtransport : $tuangtransport;
 $tbebantugas = !isset($tbebantugas) ? $dtbebantugas : $tbebantugas;
 $twalikelas = !isset($twalikelas) ? $dtwalikelas : $twalikelas;
 $tkhusus = !isset($tkhusus) ? $dtkhusus : $tkhusus;
 $tlain = !isset($tlain) ? $dtlain : $tlain;
 $ppinjaman = !isset($ppinjaman) ? $dppinjaman : $ppinjaman;
예제 #2
0
    $admin .= '<tr>
	<td></td>
	<td><img src="mod/karyawan/images/normal/' . $fotolama . '" height="120">
	<input type="hidden" name="fotolama" value="' . $fotolama . '"></td>
</tr>
<tr>
	<td>NIP</td>
	<td><input type="hidden" name="nip" value="' . $nip . '">' . $nip . '</td>
</tr>
<tr>
	<td>Nama Lengkap</td>
	<td>
	<input type="hidden" name="nama" value="' . $nama . '">' . $nama . '
	</td>
</tr>
<tr>
	<td>Golongan</td>
	<td><input type="hidden" name="golongan" value="' . $golongan . '">' . getgolongan($golongan) . '</td>
</tr>
<tr>
	<td>Bulan / Tahun</td>
	<td><select name="bulan" class="form-control">';
    $hasil = $koneksi_db->sql_query("SELECT * FROM hrd_bulan ORDER BY id");
    $admin .= '<option value="">== Pilih Bulan ==</option>';
    while ($datas = $koneksi_db->sql_fetchrow($hasil)) {
        $pilihan = $datas['id'] == $bulan ? "selected" : '';
        $admin .= '<option value="' . $datas['id'] . '"' . $pilihan . '>' . $datas['bulan'] . '</option>';
    }
    $admin .= '</select>&nbsp;&nbsp;/&nbsp;&nbsp;<input type="text" name="tahun" size="25" value="' . $tahun . '" class="form-control"></td>
</tr>
<tr>