include"$path/menu.php"; ?> <!-- SQL Sementara --> <?php // if($_POST['submit']==''){ // $dataPost=$_SESSION['dataPost']; // }else{ // $_SESSION['dataPost']=$_POST; // $dataPost=$_SESSION['dataPost']; // } // $data = $PENGHAPUSAN->retrieve_penetapan_penghapusan_eksekusi_pmd($_POST); $idPenetapan=$_GET['id']; ////pr($idPenetapan); // $data = $PENGHAPUSAN->retrieve_penetapan_penghapusan_edit_data_pmd($_GET); $data = $PENGHAPUSAN->DataPenetapan($idPenetapan); // pr($_GET); // pr($data); $POST['page'] = intval($_GET['pid']); // pr($POST); $par_data_table="id={$_GET['id']}&page={$POST['page']}"; $sql = mysql_query("SELECT * FROM kontrak ORDER BY id "); while ($dataKontrak = mysql_fetch_assoc($sql)){ $kontrak[] = $dataKontrak; } ?> <!-- End Sql --> <script>
} else { $SatkerUsul = $NamaSatker[0]['NamaSatker']; } if ($value['StatusPenetapan'] == 0) { $label = "warning"; $text = "<span class=\"label label-{$label}\" >belum diproses</span>"; } elseif ($value['StatusPenetapan'] == 1) { $label = "info"; $text = "<span class=\"label label-{$label}\" >sudah ditetapkan</span>"; } if ($value['Penetapan_ID'] == 0) { $textvalid = ""; } else { $textvalid = "<span class=\"label\" style=\"margin-top:3px\">Belum Validasi</span>"; if ($value['Penetapan_ID']) { $datastatus = $PENGHAPUSAN->DataPenetapan($value['Penetapan_ID']); if ($datastatus[0]['Status'] == 1) { $textvalid = "<span class=\"label label-success\" style=\"margin-top:3px\">Sudah Validasi</span>"; } } } // //pr($value[TglPerolehan]); // $TglPerolehanTmp=explode("-", $value[TglPerolehan]); // // //pr($TglPerolehanTmp); // $TglPerolehan=$TglPerolehanTmp[2]."/".$TglPerolehanTmp[1]."/".$TglPerolehanTmp[0]; if ($value['StatusPenetapan'] == 0) { $tindakan = "<a href=\"{$url_rewrite}/module/penghapusan/penghapusan_usulan_daftar_proses_hapus_pms.php?id={$value[Usulan_ID]}\" class=\"btn btn-danger btn-small\" onclick=\"return confirm('Hapus Data');\" style=\"margin-top:3px\"><i class=\"fa fa-trash\"></i> Hapus</a>\n <a href=\"{$url_rewrite}/module/penghapusan/dftr_review_edit_aset_usulan_pms.php?id={$value[Usulan_ID]}\" class=\"btn btn-success btn-small\" onclick=\"return confirm('View Data');\" style=\"margin-top:3px\"><i class=\"fa fa-pencil-square-o\"></i> View</a>\n\n <a target=\"_blank\" href=\"{$url_rewrite}/report/template/PENGHAPUSAN/cetak_usulan_penghapusan.php?idusulan={$value[Usulan_ID]}&noUsul={$value[NoUsulan]}&tglHapus={$value[TglUpdate]}\" class=\"btn btn-info btn-small\"style=\"margin-top:3px\"><i class=\"fa fa-file-pdf-o\"></i> Pdf</a> \n <a target=\"_blank\" href=\"{$url_rewrite}/report/template/PENGHAPUSAN/cetak_usulan_penghapusan.php?idusulan={$value[Usulan_ID]}&noUsul={$value[NoUsulan]}&tglHapus={$value[TglUpdate]}&tipe_file=2\" class=\"btn btn-info btn-small\" style=\"margin-top:3px\"><i class=\"fa fa-file-excel-o\"></i> Excel</a> "; } elseif ($value['StatusPenetapan'] == 1) { $tindakan = "<a href=\"{$url_rewrite}/module/penghapusan/dftr_review_edit_aset_usulan_pms.php?id={$value[Usulan_ID]}\" class=\"btn btn-success btn-small\" onclick=\"return confirm('View Data');\" style=\"margin-top:3px\"><i class=\"fa fa-pencil-square-o\"></i> View</a>\n <a target=\"_blank\" href=\"{$url_rewrite}/report/template/PENGHAPUSAN/cetak_usulan_penghapusan.php?idusulan={$value[Usulan_ID]}&noUsul={$value[NoUsulan]}&tglHapus={$value[TglUpdate]}\" class=\"btn btn-info btn-small\" style=\"margin-top:3px\"><i class=\"fa fa-file-pdf-o\"></i> Pdf</a> \n <a target=\"_blank\" href=\"{$url_rewrite}/report/template/PENGHAPUSAN/cetak_usulan_penghapusan.php?idusulan={$value[Usulan_ID]}&noUsul={$value[NoUsulan]}&tglHapus={$value[TglUpdate]}&tipe_file=2\" class=\"btn btn-info btn-small\" style=\"margin-top:3px\"><i class=\"fa fa-file-excel-o\"></i> Excel</a> "; } $NoUsulan = explode("/", $value['NoUsulan']);