706 lines
30 KiB
PHP
706 lines
30 KiB
PHP
<!DOCTYPE html>
|
||
<html>
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<meta name="description" content="A fully featured admin theme which can be used to build CRM, CMS, etc.">
|
||
<meta name="author" content="Coderthemes">
|
||
|
||
<!-- App favicon -->
|
||
<link rel="shortcut icon" href="assets/images/logo_rssa.png">
|
||
<!-- App title -->
|
||
<title>SPPDWEB RSSA</title>
|
||
|
||
|
||
|
||
<!-- App css -->
|
||
<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||
<link href="assets/css/core.css" rel="stylesheet" type="text/css" />
|
||
<link href="assets/css/components.css" rel="stylesheet" type="text/css" />
|
||
<link href="assets/css/icons.css" rel="stylesheet" type="text/css" />
|
||
<link href="assets/css/pages.css" rel="stylesheet" type="text/css" />
|
||
<link href="assets/css/menu.css" rel="stylesheet" type="text/css" />
|
||
<link href="assets/css/responsive.css" rel="stylesheet" type="text/css" />
|
||
<link rel="stylesheet" href="../plugins/switchery/switchery.min.css">
|
||
|
||
<!-- DataTables -->
|
||
<link href="plugins/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/>
|
||
<link href="plugins/datatables/buttons.bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
||
<link href="plugins/datatables/fixedHeader.bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
||
<link href="plugins/datatables/responsive.bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
||
<link href="plugins/datatables/scroller.bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
||
<link href="plugins/datatables/dataTables.colVis.css" rel="stylesheet" type="text/css"/>
|
||
<link href="plugins/datatables/dataTables.bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
||
<link href="plugins/datatables/fixedColumns.dataTables.min.css" rel="stylesheet" type="text/css"/>
|
||
|
||
<!-- HTML5 Shiv and Respond.js IE8 support of HTML5 elements and media queries -->
|
||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||
<!--[if lt IE 9]>
|
||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||
<![endif]-->
|
||
<link href="assets/css/select2.css" rel="stylesheet" />
|
||
<script src="assets/js/modernizr.min.js"></script>
|
||
|
||
|
||
</head>
|
||
|
||
|
||
<body class="fixed-left">
|
||
|
||
<style type="text/css">
|
||
.btn-circle.btn-md {
|
||
width: 40px;
|
||
height: 40px;
|
||
padding: 7px 10px;
|
||
border-radius: 25px;
|
||
font-size: 15px;
|
||
text-align: center;
|
||
border: 3px solid #66b5fb;
|
||
}
|
||
|
||
#sidebar-menu ul li a:hover {
|
||
background:#f1f3f4 !important;
|
||
font-color:white;
|
||
}
|
||
|
||
#sidebar-menu ul li a:focus {
|
||
background:#fce8e6 !important;
|
||
color:#d93025 !important;
|
||
font-weight: bold;
|
||
}
|
||
|
||
.no-border{
|
||
border:none;
|
||
}
|
||
|
||
.popover {background-color: black;}
|
||
.popover.top .arrow::after {border-top-color: black; }
|
||
.popover-content {background-color: black;color:white;font-size: 14px;text-align: center;}
|
||
</style>
|
||
|
||
<style type="text/css">
|
||
table.dataTable tbody tr td{
|
||
border-bottom: 1px solid transparent;
|
||
}
|
||
|
||
table.dataTable tbody tr:hover td {
|
||
border-top: #aaaaaa 1px solid;
|
||
border-bottom: #aaaaaa 3px solid;
|
||
}
|
||
|
||
table.dataTable tbody tr:hover .kiri {
|
||
border-left: #aaaaaa 1px solid;
|
||
}
|
||
|
||
table.dataTable tbody tr:hover .kanan {
|
||
border-right: #aaaaaa 1px solid;
|
||
}
|
||
|
||
thead {
|
||
color:black;text-transform: uppercase;
|
||
}
|
||
|
||
|
||
h4 {
|
||
font-family: "GSans";
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "GSans";
|
||
src: url('assets/fonts/googlesans-regular-webfont.woff') format('woff');
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "GSans_Med";
|
||
src: url('assets/fonts/googlesans-medium-webfont.woff') format('woff');
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "RobReg";
|
||
src: url('assets/fonts/roboto-regular-webfont.woff') format('woff');
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "OSansReg";
|
||
src: url('assets/fonts/opensans-regular-webfont.woff') format('woff');
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "SSansReg";
|
||
src: url('assets/fonts/sourcesanspro-regular-webfont.woff') format('woff');
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "RubReg";
|
||
src: url('assets/fonts/rubik-regular-webfont.woff') format('woff');
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "Inter";
|
||
src: url('assets/fonts/Inter-Regular.woff') format('woff');
|
||
}
|
||
|
||
@font-face {
|
||
font-family: "InterSB";
|
||
src: url('assets/fonts/Inter-SemiBold.woff') format('woff');
|
||
}
|
||
|
||
.judul_page {
|
||
font-family: "GSans_Med";
|
||
font-size:30px;
|
||
color:#cccccc;
|
||
}
|
||
|
||
.judul_view {
|
||
font-family: "GSans_Med";
|
||
font-size:20px;
|
||
color:#cccccc;
|
||
}
|
||
|
||
.judul_verif {
|
||
font-family: "GSans_Med";
|
||
font-size:20px;
|
||
color:#cccccc;
|
||
}
|
||
|
||
.judul_modal {
|
||
font-family: "GSans_Med";
|
||
font-size:18px;
|
||
color:#cccccc;
|
||
}
|
||
|
||
.modal-title, .total{
|
||
font-family: "GSans_Med";
|
||
font-size: 20px;
|
||
color: #449d44;
|
||
}
|
||
|
||
.sub_judul {
|
||
font-family: "Arial";
|
||
font-weight: bold;
|
||
font-size: 17px;
|
||
color: black;
|
||
}
|
||
|
||
.judul_rincian {
|
||
font-family: "GSans";
|
||
font-size:15px;
|
||
font-weight: bold;
|
||
color:black;
|
||
}
|
||
|
||
.sub_rincian {
|
||
font-family: "Arial";
|
||
font-size:14px;
|
||
font-weight: bold;
|
||
color:#a6a6a6;
|
||
}
|
||
|
||
.rintot, .br_jud {
|
||
font-family: "InterSB";
|
||
color:black;
|
||
}
|
||
|
||
.grtot {
|
||
font-family: "InterSB";
|
||
color:red;
|
||
}
|
||
|
||
.grttd {
|
||
font-family: "InterSB";
|
||
color:black;
|
||
}
|
||
|
||
.grtota {
|
||
font-family: "InterSB";
|
||
color:black;
|
||
}
|
||
|
||
.grttda {
|
||
font-family: "InterSB";
|
||
color:#a5a5a5;
|
||
}
|
||
|
||
label {
|
||
font-family:'InterSB';font-weight: normal;color:black;
|
||
}
|
||
|
||
.tabmenu {
|
||
font-family:'InterSB';font-weight: normal;
|
||
}
|
||
|
||
/* webkit-font-smoothing: antialiased; */
|
||
</style>
|
||
|
||
|
||
|
||
<!-- Begin page -->
|
||
<div id="wrapper">
|
||
|
||
|
||
|
||
|
||
|
||
<!-- Top Bar Start -->
|
||
<div class="topbar">
|
||
|
||
|
||
|
||
|
||
<div class="navbar-custom" style="background: rgba(60,117,6,1);
|
||
background: -moz-linear-gradient(left, rgba(60,117,6,1) 0%, rgba(150,196,14,1) 10%, rgba(255,238,0,1) 23%, rgba(255,255,255,1) 37%, rgba(255,255,255,1) 64%, rgba(255,238,0,1) 78%, rgba(150,196,14,1) 89%, rgba(60,117,6,1) 100%);
|
||
background: -webkit-gradient(left top, right top, color-stop(0%, rgba(60,117,6,1)), color-stop(10%, rgba(150,196,14,1)), color-stop(23%, rgba(255,238,0,1)), color-stop(37%, rgba(255,255,255,1)), color-stop(64%, rgba(255,255,255,1)), color-stop(78%, rgba(255,238,0,1)), color-stop(89%, rgba(150,196,14,1)), color-stop(100%, rgba(60,117,6,1)));
|
||
background: -webkit-linear-gradient(left, rgba(60,117,6,1) 0%, rgba(150,196,14,1) 10%, rgba(255,238,0,1) 23%, rgba(255,255,255,1) 37%, rgba(255,255,255,1) 64%, rgba(255,238,0,1) 78%, rgba(150,196,14,1) 89%, rgba(60,117,6,1) 100%);
|
||
background: -o-linear-gradient(left, rgba(60,117,6,1) 0%, rgba(150,196,14,1) 10%, rgba(255,238,0,1) 23%, rgba(255,255,255,1) 37%, rgba(255,255,255,1) 64%, rgba(255,238,0,1) 78%, rgba(150,196,14,1) 89%, rgba(60,117,6,1) 100%);
|
||
background: -ms-linear-gradient(left, rgba(60,117,6,1) 0%, rgba(150,196,14,1) 10%, rgba(255,238,0,1) 23%, rgba(255,255,255,1) 37%, rgba(255,255,255,1) 64%, rgba(255,238,0,1) 78%, rgba(150,196,14,1) 89%, rgba(60,117,6,1) 100%);
|
||
background: linear-gradient(to right, rgba(60,117,6,1) 0%, rgba(150,196,14,1) 10%, rgba(255,238,0,1) 23%, rgba(255,255,255,1) 37%, rgba(255,255,255,1) 64%, rgba(255,238,0,1) 78%, rgba(150,196,14,1) 89%, rgba(60,117,6,1) 100%);
|
||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3c7506', endColorstr='#3c7506', GradientType=1 );">
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="col-lg-12"><center><img style="padding:5px 5px 5px 5px"src="assets/images/logo-rssa-black-1.png"></center>
|
||
</div>
|
||
</div>
|
||
</div> <!-- end container -->
|
||
</div> <!-- end navbar-custom -->
|
||
|
||
|
||
|
||
<?php
|
||
|
||
$bln=date('m');
|
||
$thn=date('Y');
|
||
?>
|
||
|
||
<input type="hidden" id="blne" value="<?php $bln; ?>">
|
||
<input type="hidden" id="thne" value="<?php $thn; ?>">
|
||
|
||
<input type="hidden" id="cek_user_id" value="<?php echo $_GET['user_id']; ?>">
|
||
<input type="hidden" id="cek_pegawai_id" value="<?php echo $_GET['pegawai_id']; ?>">
|
||
<input type="hidden" id="cek_satuan_kerja_id" value="<?php echo $_GET['satuan_kerja_id']; ?>">
|
||
<input type="hidden" id="cek_jenis_user" value="<?php echo $_GET['jenis_user']; ?>">
|
||
<input type="hidden" id="cek_nampeg" value="<?php echo $_GET['nampeg']; ?>">
|
||
<input type="hidden" id="cek_satuan_kerja" value="<?php echo $_GET['satuan_kerja']; ?>">
|
||
|
||
<!-- LOGO -->
|
||
<div class="topbar-left" style="background-color:#f3f3f3" id="compose" hidden><i class="fa fa-home fa-md" style="color:black"></i>
|
||
<a href="#" class="logo" style="font-size:16px" id="beranda"><span style="color:black">BERANDA UTAMA</span></a>
|
||
<!-- Image logo -->
|
||
<!--<a href="index.html" class="logo">-->
|
||
<!--<span>-->
|
||
<!--<img src="assets/images/logo.png" alt="" height="30">-->
|
||
<!--</span>-->
|
||
<!--<i>-->
|
||
<!--<img src="assets/images/logo_sm.png" alt="" height="28">-->
|
||
<!--</i>-->
|
||
<!--</a>-->
|
||
</div>
|
||
|
||
<!-- Button mobile view to collapse sidebar menu -->
|
||
<div class="navbar navbar-default" role="navigation">
|
||
<div class="container">
|
||
|
||
<!-- Navbar-left -->
|
||
<ul class="nav navbar-nav navbar-left">
|
||
<li>
|
||
<button class="button-menu-mobile">
|
||
<i class="mdi mdi-menu"></i>
|
||
</button>
|
||
</li>
|
||
|
||
<li class="hidden-xs">
|
||
<form role="search" class="app-search">
|
||
<select class="form-control" style="font-size:14px;width:130px;" id="thn_dpa">
|
||
<?php
|
||
include('app/koneksi.php');
|
||
$thn_skrg=date('Y');
|
||
$c=pg_query("SELECT MAX(CAST(thn AS INTEGER)) FROM sub_kegiatan");
|
||
while($s=pg_fetch_array($c)) {$maxthn=$s[0];}
|
||
if ($thn_skrg==$maxthn) {} else {?> <option value="<?php $thn_skrg;?>"><?php echo $thn_skrg;?></option> <?php }
|
||
$d=pg_query("SELECT DISTINCT CAST(thn AS INTEGER) FROM sub_kegiatan ORDER BY CAST(thn AS INTEGER) DESC");
|
||
while($r=pg_fetch_array($d)) {
|
||
?>
|
||
<option <?php if ($thn==$r[0]) {echo "selected";} else {}?> value="<?php echo $r[0];?>"><?php echo $r[0];?></option>
|
||
<?php
|
||
}
|
||
?>
|
||
</select>
|
||
</form>
|
||
</li>
|
||
|
||
<li class="hidden-xs">
|
||
<form role="search" class="app-search">
|
||
<select class="form-control" style="font-size:14px;width:180px;" id="bulan">
|
||
<option <?php if ($bln=='1') {echo "selected";} ?> value="1">JANUARI</option>
|
||
<option <?php if ($bln=='2') {echo "selected";} ?> value="2">PEBRUARI</option>
|
||
<option <?php if ($bln=='3') {echo "selected";} ?> value="3">MARET</option>
|
||
<option <?php if ($bln=='4') {echo "selected";} ?> value="4">APRIL</option>
|
||
<option <?php if ($bln=='5') {echo "selected";} ?> value="5">MEI</option>
|
||
<option <?php if ($bln=='6') {echo "selected";} ?> value="6">JUNI</option>
|
||
<option <?php if ($bln=='7') {echo "selected";} ?> value="7">JULI</option>
|
||
<option <?php if ($bln=='8') {echo "selected";} ?> value="8">AGUSTUS</option>
|
||
<option <?php if ($bln=='9') {echo "selected";} ?> value="9">SEPTEMBER</option>
|
||
<option <?php if ($bln=='10') {echo "selected";} ?> value="10">OKTOBER</option>
|
||
<option <?php if ($bln=='11') {echo "selected";} ?> value="11">NOPEMBER</option>
|
||
<option <?php if ($bln=='12') {echo "selected";} ?> value="12">DESEMBER</option>
|
||
</select>
|
||
</form>
|
||
</li>
|
||
|
||
<li class="hidden-xs">
|
||
<form role="search" class="app-search">
|
||
<input type="text" style="font-size:14px;width:500px;" class="form-control" value="<?php echo $_GET['jenis_user'].' / '.$_GET['satuan_kerja'];?>" disabled>
|
||
</form>
|
||
</li>
|
||
|
||
|
||
|
||
</ul>
|
||
|
||
<!-- Right(Notification) -->
|
||
|
||
<ul class="nav navbar-nav navbar-right">
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="mnbook"
|
||
data-content="Manual Book" rel="popover" data-placement="top" data-trigger="hover"
|
||
>
|
||
<i class="mdi mdi-comment-question-outline"></i>
|
||
</a>
|
||
</li>
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="master"
|
||
data-content="Master" rel="popover" data-placement="top" data-trigger="hover"
|
||
>
|
||
<i class="mdi mdi-settings"></i>
|
||
</a>
|
||
</li>
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="laporan"
|
||
data-content="Laporan" rel="popover" data-placement="top" data-trigger="hover"
|
||
>
|
||
<i class="mdi mdi-file"></i>
|
||
</a>
|
||
</li>
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="verifikasi"
|
||
data-content="Verifikasi" rel="popover" data-placement="top" data-trigger="hover"
|
||
>
|
||
<i class="mdi mdi-checkbox-marked-circle-outline"></i>
|
||
</a>
|
||
</li>
|
||
<!--
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="kas"
|
||
data-content="Kas" rel="popover" data-placement="top" data-trigger="hover"
|
||
>
|
||
<i class="mdi mdi-table"></i>
|
||
</a>
|
||
</li> -->
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="info"
|
||
data-content="Data" rel="popover" data-placement="top" data-trigger="hover"
|
||
>
|
||
<i class="mdi mdi-database"></i>
|
||
</a>
|
||
</li>
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown" id="sppd"
|
||
data-content="SPPD Baru" rel="popover" data-placement="top" data-trigger="hover"
|
||
>
|
||
<i class="mdi mdi-plus"></i>
|
||
</a>
|
||
</li>
|
||
<li class="dropdown user-box">
|
||
<a href="#" class="right-menu-item dropdown-toggle" data-toggle="dropdown">
|
||
<i class="mdi mdi-account"></i>
|
||
</a>
|
||
|
||
<ul class="dropdown-menu dropdown-menu-right arrow-dropdown-menu arrow-menu-right user-list notify-list">
|
||
<li>
|
||
|
||
<h5>Hi, <?php echo $_GET['jenis_user']; ?></h5>
|
||
</li>
|
||
<li><a href="#" id="logout"><i class="ti-power-off m-r-5"></i> Logout</a></li>
|
||
</ul>
|
||
</li>
|
||
</ul> <!-- end navbar-right -->
|
||
|
||
</div><!-- end container -->
|
||
</div><!-- end navbar -->
|
||
</div>
|
||
<!-- Top Bar End -->
|
||
</div>
|
||
|
||
|
||
|
||
|
||
<!-- ============================================================== -->
|
||
<!-- Start right Content here -->
|
||
<!-- ============================================================== -->
|
||
|
||
<!--
|
||
<div class="content-page">
|
||
<div class="content">
|
||
<div class="container" id="main_tag"></div>
|
||
</div>
|
||
<footer class="main-footer navbar-fixed-bottom" style="background-color:#36404e;color:white;px;padding:10px;" align="center">
|
||
© 2021 dynandsoftware
|
||
</footer>
|
||
</div>
|
||
-->
|
||
|
||
<div class="wrapper">
|
||
<div class="container"><br><br><br><br>
|
||
<div class="container" id="main_tag"></div>
|
||
<footer class="main-footer navbar-fixed-bottom" style="background-color:#36404e;color:white;px;padding:10px;" align="center">
|
||
© 2020 dynandsoftware
|
||
</footer>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<div id="modal_mnbook" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||
<div class="modal-dialog modal-lg">
|
||
<div class="modal-content">
|
||
<div class="modal-header no-border">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h4 class="modal-title" id="myModalLabel">Manual Book</h4>
|
||
</div>
|
||
<div class="modal-body" id="modal_body_mnbook"></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="modal_cekspt" class="modal fade"role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||
<div class="modal-dialog">
|
||
<div class="modal-content">
|
||
<div class="modal-header no-border">
|
||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
<h4 class="modal-title" id="myModalLabel">Cek SPT</h4>
|
||
</div>
|
||
<div class="modal-body" id="modal_body_cekspt"></div>
|
||
<div class="modal-footer no-border">
|
||
<button type="button" class="btn btn-default waves-effect" data-dismiss="modal" id="keluar_cekspt">Keluar</button>
|
||
<button type="button" class="btn btn-primary waves-effect waves-light" id="baru_cekspt">SPT Baru</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- ============================================================== -->
|
||
<!-- End Right content here -->
|
||
<!-- ============================================================== -->
|
||
<script>
|
||
var resizefunc = [];
|
||
</script>
|
||
|
||
<!-- jQuery -->
|
||
<script src="assets/js/jquery.min.js"></script>
|
||
<script src="assets/js/bootstrap.min.js"></script>
|
||
<script src="assets/js/detect.js"></script>
|
||
<script src="assets/js/fastclick.js"></script>
|
||
<script src="assets/js/jquery.blockUI.js"></script>
|
||
<script src="assets/js/waves.js"></script>
|
||
<script src="assets/js/jquery.slimscroll.js"></script>
|
||
<script src="assets/js/jquery.scrollTo.min.js"></script>
|
||
<script src="plugins/switchery/switchery.min.js"></script>
|
||
|
||
<!-- Counter js -->
|
||
<script src="plugins/waypoints/jquery.waypoints.min.js"></script>
|
||
<script src="plugins/counterup/jquery.counterup.min.js"></script>
|
||
|
||
<!--Morris Chart-->
|
||
<script src="plugins/morris/morris.min.js"></script>
|
||
<script src="plugins/raphael/raphael-min.js"></script>
|
||
|
||
<!-- Dashboard init -->
|
||
<script src="assets/pages/jquery.dashboard.js"></script>
|
||
|
||
<!-- App js -->
|
||
<script src="assets/js/jquery.core.js"></script>
|
||
<script src="assets/js/jquery.app.js"></script>
|
||
|
||
<script src="plugins/datatables/jquery.dataTables.min.js"></script>
|
||
<script src="plugins/datatables/dataTables.bootstrap.js"></script>
|
||
|
||
<script src="plugins/datatables/dataTables.buttons.min.js"></script>
|
||
<script src="plugins/datatables/buttons.bootstrap.min.js"></script>
|
||
<script src="plugins/datatables/jszip.min.js"></script>
|
||
<script src="plugins/datatables/pdfmake.min.js"></script>
|
||
<script src="plugins/datatables/vfs_fonts.js"></script>
|
||
<script src="plugins/datatables/buttons.html5.min.js"></script>
|
||
<script src="plugins/datatables/buttons.print.min.js"></script>
|
||
<script src="plugins/datatables/dataTables.fixedHeader.min.js"></script>
|
||
<script src="plugins/datatables/dataTables.keyTable.min.js"></script>
|
||
<script src="plugins/datatables/dataTables.responsive.min.js"></script>
|
||
<script src="plugins/datatables/responsive.bootstrap.min.js"></script>
|
||
<script src="plugins/datatables/dataTables.scroller.min.js"></script>
|
||
<script src="plugins/datatables/dataTables.colVis.js"></script>
|
||
<script src="plugins/datatables/dataTables.fixedColumns.min.js"></script>
|
||
<script src="plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script>
|
||
|
||
<!-- init -->
|
||
<script src="assets/pages/jquery.datatables.init.js"></script>
|
||
<script src="assets/pages/jquery.form-pickers.init.js"></script>
|
||
|
||
<!-- Chart -->
|
||
<script src="plugins/highcharts/highcharts.js"></script>
|
||
<script src="plugins/highcharts/jquery.highchartTable.js"></script>
|
||
<script src="plugins/highcharts/exporting.js"></script>
|
||
|
||
<!--<script src="plugins/bootstrap-select/dist/js/bootstrap-select.min.js" type="text/javascript"></script>-->
|
||
<script src="assets/js/select2.js"></script>
|
||
<script type="text/javascript">
|
||
|
||
|
||
$('#master').popover();
|
||
$('#laporan').popover();
|
||
$('#verifikasi').popover();
|
||
$('#kas').popover();
|
||
$('#info').popover();
|
||
$('#sppd').popover();
|
||
$('#mnbook').popover();
|
||
var cjenis_user = $('#cek_jenis_user').val();
|
||
if (cjenis_user=='ADMIN') {
|
||
$('#master').show();
|
||
$('#laporan').show();
|
||
$('#verifikasi').show();
|
||
$('#kas').show();
|
||
$('#info').show();
|
||
$('#sppd').show();
|
||
} else {
|
||
$('#master').hide();
|
||
$('#laporan').hide();
|
||
$('#verifikasi').hide();
|
||
$('#kas').hide();
|
||
$('#info').show();
|
||
$('#sppd').show();
|
||
}
|
||
|
||
var thn_dpa = $("#thn_dpa option:selected").text();
|
||
var bulan = $('#bulan').val();
|
||
var sp_kwi_ida = 0;
|
||
|
||
$('#master').click(function(){
|
||
$.post('app/master/main.php',{thn_dpa:thn_dpa},function(html){$("#main_tag").html(html)});
|
||
});
|
||
|
||
$('#sppd').click(function(){
|
||
$("select#thn_dpa").prop('selectedIndex', 0);
|
||
const d = new Date();
|
||
let month = d.getMonth();
|
||
$("select#bulan").prop('selectedIndex', month);
|
||
$('#thn_dpa').trigger('change');
|
||
$('#baru_cekspt').hide();
|
||
var thn=$("#thn_dpa option:selected").text();
|
||
$('#modal_cekspt').modal('show');
|
||
$('#modal_body_cekspt').html("");
|
||
$.ajax({
|
||
type: "POST",
|
||
url: "modal_cekspt.php",
|
||
data: 'thn='+thn,
|
||
success: function(data){
|
||
$('#modal_body_cekspt').html(data);
|
||
$('#baru_cekspt').show();
|
||
}
|
||
});
|
||
|
||
|
||
/*
|
||
var blne = $('#bulan').val();
|
||
var thne = $("#thn_dpa option:selected").text();
|
||
$('#thn_dpa').val(thne);
|
||
$("#bulan").prop("selectedIndex", blne).val();
|
||
*/
|
||
//$.post('app/sppd/main.php',{sp_kwi_id:sp_kwi_ida},function(html){$("#main_tag").html(html)});
|
||
});
|
||
|
||
$('#baru_cekspt').click(function(){
|
||
$.post('app/sppd/main.php',{sp_kwi_id:sp_kwi_ida},function(html){
|
||
$("#main_tag").html(html);
|
||
$('#modal_cekspt').modal('hide');
|
||
$('body').removeClass('modal-open');
|
||
$('.modal-backdrop').remove();
|
||
});
|
||
});
|
||
$('#info').click(function(){
|
||
var cek_jenis_user = $('#cek_jenis_user').val();
|
||
var cek_satuan_kerja = $('#cek_satuan_kerja').val();
|
||
$.post('app/info/main.php',{thn_dpa:thn_dpa, bulan:bulan, cek_jenis_user:cek_jenis_user, cek_satuan_kerja:cek_satuan_kerja},function(html){$("#main_tag").html(html)});
|
||
});
|
||
$('#verifikasi').click(function(){//alert('Masih maintenance, mohon ditunggu');
|
||
$("select#thn_dpa").prop('selectedIndex', 0);
|
||
const d = new Date();
|
||
let month = d.getMonth();
|
||
$("select#bulan").prop('selectedIndex', month);
|
||
//$('#thn_dpa').trigger('change');
|
||
$.post('app/verifikasi/main.php',{thn_dpa:thn_dpa},function(html){$("#main_tag").html(html)});
|
||
});
|
||
$('#laporan').click(function(){
|
||
$.post('app/laporan/main.php',{thn_dpa:thn_dpa, bulan:bulan},function(html){$("#main_tag").html(html)});
|
||
});
|
||
$('#info').trigger('click');
|
||
|
||
$('#mnbook').click(function(){
|
||
var id=0;
|
||
$('#modal_mnbook').modal('show');
|
||
$('#modal_body_mnbook').html("");
|
||
$.ajax({
|
||
type: "POST",
|
||
url: "app/mnbook/main.php",
|
||
data: 'id='+id,
|
||
success: function(data){
|
||
$('#modal_body_mnbook').html(data);
|
||
}
|
||
});
|
||
});
|
||
|
||
/*
|
||
$('#lap_setor').click(function(){
|
||
$.post('app/lap_setor/main.php',{jenis:sess_jenis, thn_dpa:thn_dpa},function(html){$("#main_tag").html(html)});
|
||
});
|
||
$('#lap_realisasi').click(function(){
|
||
$.post('app/lap_realisasi/main.php',{jenis:sess_jenis, thn_dpa:thn_dpa},function(html){$("#main_tag").html(html)});
|
||
});
|
||
$('#pelunasan').click(function(){
|
||
$.post('app/pelunasan/main.php',{jenis:sess_jenis, thn_dpa:thn_dpa},function(html){$("#main_tag").html(html)});
|
||
});
|
||
$('#data_lunas').click(function(){
|
||
$.post('app/data_lunas/main.php',{jenis:sess_jenis, thn_dpa:thn_dpa},function(html){$("#main_tag").html(html)});
|
||
});
|
||
*/
|
||
|
||
window.history.pushState(null, null, window.location.pathname);
|
||
|
||
$('#logout').click(function(){
|
||
var d = 'Logout';
|
||
$.ajax({
|
||
type: "POST",
|
||
url: "logout.php",
|
||
data: 'd='+d,
|
||
success: function(data){
|
||
window.location.href='index.php';
|
||
}
|
||
});
|
||
});
|
||
|
||
$('#thn_dpa').change(function(){
|
||
var a = $('#thn_dpa').val();
|
||
var cek_jenis_user = $('#cek_jenis_user').val();
|
||
var cek_satuan_kerja = $('#cek_satuan_kerja').val();
|
||
var thn_dpa = $("#thn_dpa option:selected").text();
|
||
var bulan = $('#bulan').val();
|
||
$.post('app/info/main.php',{thn_dpa:thn_dpa, bulan:bulan, cek_jenis_user:cek_jenis_user, cek_satuan_kerja:cek_satuan_kerja},function(html){$("#main_tag").html(html)});
|
||
});
|
||
|
||
$('#bulan').change(function(){
|
||
$('#info').trigger('click');
|
||
});
|
||
|
||
var cek_nampeg = $('#cek_nampeg').val();
|
||
if(cek_nampeg=='') {alert('Silakan login dulu..');$('#logout').trigger('click');} else {}
|
||
</script>
|
||
<script src="assets/js/enter.js"></script>
|
||
<script src="assets/js/jspdf.min.js"></script>
|
||
</body>
|
||
</html>
|