430 lines
29 KiB
PHP
430 lines
29 KiB
PHP
<style>
|
|
.lengkap {
|
|
width: 100%; height: 100%;
|
|
}
|
|
|
|
tr{
|
|
border-top: hidden;
|
|
}
|
|
|
|
.modal-backdrop {
|
|
visibility: hidden !important;
|
|
}
|
|
.modal.in {
|
|
background-color: rgba(0,0,0,0.5);
|
|
}
|
|
</style>
|
|
<?php
|
|
include('../koneksi.php');
|
|
$vr_pelunasan_id=$_POST['id'];
|
|
$d=pg_query("SELECT
|
|
id,kwitansi,faktur_penjualan,nota_dinas,faktur_pajak,ssp_ppn,ssp_pph,
|
|
ba_hp_admin,ba_st,sp_spk,honor,hadir,tor,spt,pendukung,ba_um,ba_ujicoba,ba_pembayaran,
|
|
ba_kemajuan,tgl_kwitansi,tgl_faktur_penjualan,tgl_nota_dinas,tgl_faktur_pajak,tgl_ssp_ppn,tgl_ssp_pph,
|
|
tgl_ba_hp_admin,tgl_ba_st,tgl_ba_denda,tgl_ceklist,tgl_honor,tgl_hadir,tgl_tor,tgl_spt,tgl_pendukung,tgl_ba_um,
|
|
tgl_ba_ujicoba,tgl_ba_pembayaran,tgl_ba_kemajuan,ceklist,ba_denda
|
|
FROM vr_pelunasan WHERE id=$vr_pelunasan_id");
|
|
while($r=pg_fetch_array($d)) {
|
|
$vr_pelunasan_id=$r['id'];
|
|
$kwitansi=$r['kwitansi'];
|
|
$faktur_penjualan=$r['faktur_penjualan'];
|
|
$nota_dinas=$r['nota_dinas'];
|
|
$faktur_pajak=$r['faktur_pajak'];
|
|
$ssp_ppn=$r['ssp_ppn'];
|
|
$ssp_pph=$r['ssp_pph'];
|
|
$ba_hp_admin=$r['ba_hp_admin'];
|
|
$ba_st=$r['ba_st'];
|
|
$sp_spk=$r['sp_spk'];
|
|
$honor=$r['honor'];
|
|
$hadir=$r['hadir'];
|
|
$tor=$r['tor'];
|
|
$spt=$r['spt'];
|
|
$pendukung=$r['pendukung'];
|
|
$ba_um=$r['ba_um'];
|
|
$ba_ujicoba=$r['ba_ujicoba'];
|
|
$ba_pembayaran=$r['ba_pembayaran'];
|
|
$ba_kemajuan=$r['ba_kemajuan'];
|
|
$tgl_kwitansi=$r['tgl_kwitansi'];
|
|
$tgl_faktur_penjualan=$r['tgl_faktur_penjualan'];
|
|
$tgl_nota_dinas=$r['tgl_nota_dinas'];
|
|
$tgl_faktur_pajak=$r['tgl_faktur_pajak'];
|
|
$tgl_ssp_ppn=$r['tgl_ssp_ppn'];
|
|
$tgl_ssp_pph=$r['tgl_ssp_pph'];
|
|
$tgl_ba_hp_admin=$r['tgl_ba_hp_admin'];
|
|
$tgl_ba_st=$r['tgl_ba_st'];
|
|
$tgl_ba_denda=$r['tgl_ba_denda'];
|
|
$tgl_ceklist=$r['tgl_ceklist'];
|
|
$tgl_honor=$r['tgl_honor'];
|
|
$tgl_hadir=$r['tgl_hadir'];
|
|
$tgl_tor=$r['tgl_tor'];
|
|
$tgl_spt=$r['tgl_spt'];
|
|
$tgl_pendukung=$r['tgl_pendukung'];
|
|
$tgl_ba_um=$r['tgl_ba_um'];
|
|
$tgl_ba_ujicoba=$r['tgl_ba_ujicoba'];
|
|
$tgl_ba_pembayaran=$r['tgl_ba_pembayaran'];
|
|
$tgl_ba_kemajuan=$r['tgl_ba_kemajuan'];
|
|
$ba_denda=$r['ba_denda'];
|
|
$ceklist=$r['ceklist'];
|
|
}
|
|
?>
|
|
<br>
|
|
<form id="form_lengkap">
|
|
<table class="table table-condensed">
|
|
<tr>
|
|
<td width="25%">
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk1"/ <?php if($kwitansi=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk1" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> KWITANSI</strong>
|
|
<span class="pull-right" id="tgl_kwitansi">
|
|
<?php
|
|
if (($tgl_kwitansi==null) || ($tgl_kwitansi=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_kwitansi));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td width="25%">
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk5"/ <?php if($ssp_ppn=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk5" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> SSP PPN</strong>
|
|
<span class="pull-right" id="tgl_ssp_ppn">
|
|
<?php
|
|
if (($tgl_ssp_ppn==null) || ($tgl_ssp_ppn=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ssp_ppn));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td width="25%">
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk6"/ <?php if($ssp_pph=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk6" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> SSP PPH</strong>
|
|
<span class="pull-right" id="tgl_ssp_pph">
|
|
<?php
|
|
if (($tgl_ssp_pph==null) || ($tgl_ssp_pph=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ssp_pph));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td width="25%">
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk7"/ <?php if($ba_hp_admin=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk7" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> BA ADMIN</strong>
|
|
<span class="pull-right" id="tgl_ba_hp_admin">
|
|
<?php
|
|
if (($tgl_ba_hp_admin==null) || ($tgl_ba_hp_admin=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ba_hp_admin));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk8"/ <?php if($ba_st=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk8" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> BA SERAH TERIMA</strong>
|
|
<span class="pull-right" id="tgl_ba_st">
|
|
<?php
|
|
if (($tgl_ba_st==null) || ($tgl_ba_st=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ba_st));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk2"/ <?php if($faktur_penjualan=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk2" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> FAKTUR PENJUALAN</strong>
|
|
<span class="pull-right" id="tgl_faktur_penjualan">
|
|
<?php
|
|
if (($tgl_faktur_penjualan==null) || ($tgl_faktur_penjualan=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_faktur_penjualan));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk9"/ <?php if($ba_denda=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk9" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> BA DENDA</strong>
|
|
<span class="pull-right" id="tgl_ba_denda">
|
|
<?php
|
|
if (($tgl_ba_denda==null) || ($tgl_ba_denda=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ba_denda));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk10"/ <?php if($sp_spk=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk10" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> SP / SPK</strong>
|
|
<span class="pull-right" id="tgl_sp_spk">
|
|
<?php
|
|
if (($tgl_sp_spk==null) || ($tgl_sp_spk=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_sp_spk));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk11"/ <?php if($ceklist=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk11" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> CEKLIST</strong>
|
|
<span class="pull-right" id="tgl_ceklist">
|
|
<?php
|
|
if (($tgl_ceklist==null) || ($tgl_ceklist=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ceklist));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk12"/ <?php if($honor=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk12" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> DAFTAR HONOR</strong>
|
|
<span class="pull-right" id="tgl_honor">
|
|
<?php
|
|
if (($tgl_honor==null) || ($tgl_honor=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_honor));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk3"/ <?php if($nota_dinas=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk3" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> NOTA DINAS</strong>
|
|
<span class="pull-right" id="tgl_nota_dinas">
|
|
<?php
|
|
if (($tgl_nota_dinas==null) || ($tgl_nota_dinas=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_nota_dinas));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk13"/ <?php if($hadir=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk13" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> DAFTAR HADIR</strong>
|
|
<span class="pull-right" id="tgl_hadir">
|
|
<?php
|
|
if (($tgl_hadir==null) || ($tgl_hadir=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_hadir));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk14"/ <?php if($tor=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk14" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> TOR</strong>
|
|
<span class="pull-right" id="tgl_tor">
|
|
<?php
|
|
if (($tgl_tor==null) || ($tgl_tor=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_tor));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk15"/ <?php if($spt=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk15" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> SK / SPT</strong>
|
|
<span class="pull-right" id="tgl_spt">
|
|
<?php
|
|
if (($tgl_spt==null) || ($tgl_spt=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_spt));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk16"/ <?php if($pendukung=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk16" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> REKAP PENDUKUNG </strong>
|
|
<span class="pull-right" id="tgl_pendukung">
|
|
<?php
|
|
if (($tgl_pendukung==null) || ($tgl_pendukung=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_pendukung));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk4"/ <?php if($faktur_pajak=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk4" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> FAKTUR PAJAK</strong>
|
|
<span class="pull-right" id="tgl_faktur_pajak">
|
|
<?php
|
|
if (($tgl_faktur_pajak==null) || ($tgl_faktur_pajak=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_faktur_pajak));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk18"/ <?php if($ba_ujicoba=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk18" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> BA UJICOBA</strong>
|
|
<span class="pull-right" id="tgl_ba_ujicoba">
|
|
<?php
|
|
if (($tgl_ba_ujicoba==null) || ($tgl_ba_ujicoba=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ba_ujicoba));
|
|
}
|
|
?>
|
|
</span>
|
|
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk19"/ <?php if($ba_pembayaran=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk19" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> BA PEMBAYARAN</strong>
|
|
<span class="pull-right" id="tgl_ba_pembayaran">
|
|
<?php
|
|
if (($tgl_ba_pembayaran==null) || ($tgl_ba_pembayaran=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ba_pembayaran));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk20"/ <?php if($ba_kemajuan=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk20" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> BA KEMAJUAN</strong>
|
|
<span class="pull-right" id="tgl_ba_kemajuan">
|
|
<?php
|
|
if (($tgl_ba_kemajuan==null) || ($tgl_ba_kemajuan=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ba_kemajuan));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="btn-switch btn-switch-primary lengkap">
|
|
<input type="checkbox" class="my_indah" id="cbk17"/ <?php if($ba_um=='t') {echo "checked";} else {} ?> >
|
|
<label for="cbk17" style="text-align:left"
|
|
class="btn btn-rounded btn-custom waves-effect waves-light lengkap">
|
|
<em class="glyphicon glyphicon-ok"></em>
|
|
<strong> BA UANG MUKA</strong>
|
|
<span class="pull-right" id="tgl_ba_um">
|
|
<?php
|
|
if (($tgl_ba_um==null) || ($tgl_ba_um=='1970-01-01 00:00:00')) {} else {
|
|
echo date('d-m-Y H:i',strtotime($tgl_ba_um));
|
|
}
|
|
?>
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<script>
|
|
$("#form_lengkap *").prop("disabled", true);
|
|
</script>
|