copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,932 @@
|
||||
<!doctype html>
|
||||
<html class="fixed sidebar-left-collapsed">
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Basic -->
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>KPI (SALES)</title>
|
||||
<meta name="keywords" content="HTML5 Admin Template" />
|
||||
<meta name="description" content="Porto Admin - Responsive HTML5 Template">
|
||||
<meta name="author" content="okler.net">
|
||||
|
||||
<!-- Mobile Metas -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
|
||||
<!-- Vendor CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap/css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/font-awesome/css/font-awesome.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/magnific-popup/magnific-popup.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap-datepicker/css/datepicker3.css" />
|
||||
|
||||
<!-- Specific Page Vendor CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/select2/select2.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/jquery-datatables-bs3/assets/css/datatables.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/pnotify/pnotify.custom.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/bootstrap-multiselect/bootstrap-multiselect.css" />
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/vendor/base/jquery-ui.css" />
|
||||
|
||||
<!-- Theme CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/theme.css" />
|
||||
|
||||
<!-- Skin CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/skins/default.css" />
|
||||
|
||||
<!-- Theme Custom CSS -->
|
||||
<link rel="stylesheet" href="<?php echo base_url('') ?>assets/stylesheets/theme-custom.css">
|
||||
|
||||
<!-- Head Libs -->
|
||||
<script src="<?php echo base_url('') ?>assets/vendor/modernizr/modernizr.js"></script>
|
||||
|
||||
</head>
|
||||
<script src="<?= base_url() ?>assets/bower_components/jquery/jquery-3.3.1.min.js"></script>
|
||||
<script src="<?= base_url() ?>assets/bower_components/sweetalert2/sweetalert2.all.min.js"></script>
|
||||
|
||||
<style>
|
||||
.ui-front {
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.solid {
|
||||
border-top-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-left-style: solid;
|
||||
border-right-style: solid;
|
||||
border-width: 3px;
|
||||
border-color: gold;
|
||||
}
|
||||
|
||||
.solidtwo {
|
||||
border-top-style: solid;
|
||||
border-bottom-style: solid;
|
||||
border-left-style: solid;
|
||||
border-right-style: solid;
|
||||
border-width: 3px;
|
||||
border-color: slateblue;
|
||||
}
|
||||
|
||||
.f18 {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
let base_url = '<?= base_url() ?>';
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<section class="body">
|
||||
|
||||
<!-- start: header -->
|
||||
<?php $this->load->view('template/header'); ?>
|
||||
<!-- end: header -->
|
||||
|
||||
<div class="inner-wrapper">
|
||||
<!-- start: sidebar -->
|
||||
<?php $this->load->view('template/sidebar'); ?>
|
||||
<!-- end: sidebar -->
|
||||
|
||||
<section role="main" class="content-body">
|
||||
|
||||
<?php
|
||||
$id_karyawan = $this->session->userdata('id_karyawan');
|
||||
?>
|
||||
|
||||
<header class="page-header">
|
||||
<h2><b>Data Tindak Lanjut | </b><b style="color:LightGreen">[<?=$tampil?>]</b></h2>
|
||||
<div class="right-wrapper pull-right">
|
||||
<ol class="breadcrumbs">
|
||||
<li><span><b style="color:Gold">Master Data </span></b></li>
|
||||
</ol>
|
||||
|
||||
<a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fa fa-chevron-left"></i></a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- start: page -->
|
||||
<section class="panel panel-featured panel-featured-success">
|
||||
<header class="panel-heading">
|
||||
<div class="panel-actions">
|
||||
<a data-toggle="modal" data-target="#modalFitur" style="color:Coral"><b>Fitur </b><i class="fa fa-question-circle"></i></a>  
|
||||
<a href="<?php echo base_url('') ?>index.php" class="text-dark"><b>Dashboard </b><i class="fa fa-home"></i></a>
|
||||
</div>
|
||||
<h2 class="panel-title"><b style="color:LimeGreen">TINDAK LANJUT | TOTAL <b style="color:DarkRed"><?=$countBelum+$countBerjalan+$countBudget+$countPerhatian+$countTercapai?></b> DATA</b></h2>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<div class="panel-group" id="accordion">
|
||||
<div class="panel panel-accordion">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title">
|
||||
<a onclick="setToggle(1)" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseOne">
|
||||
<b class="f18" style="color:Green"><b style="color:Black">[1]</b> BELUM FU USER | <u style="color:DarkRed"><?=$countBelum?></u> DATA</b>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="collapseOne" class="accordion-body collapse <?php if ($posisiToggle==1) { ?>in<?php } ?>">
|
||||
<div class="panel-body">
|
||||
<table class="table table-bordered table-striped mb-none" id="table1">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Kode</th>
|
||||
<th class="default">Sales<br>Channel</th>
|
||||
<th class="default">Sales<br>Produk/Proyek</th>
|
||||
<th class="default">Pelanggan</th>
|
||||
<th class="default">Ringkasan</th>
|
||||
<th class="default">Informasi Terakhir</th>
|
||||
<?php if ($hak>1) { ?>
|
||||
<th class="center default">Laporan</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($belum) || is_object($belum)) {
|
||||
$no = 1;
|
||||
foreach ($belum as $key) {
|
||||
if ($key['SHOW']==1) {
|
||||
?>
|
||||
<tr>
|
||||
<?php
|
||||
if ($key['KOP']==1) {
|
||||
$kop = "TMP";
|
||||
} else if ($key['KOP']==2) {
|
||||
$kop = "DMT";
|
||||
} else if ($key['KOP']==4) {
|
||||
$kop = "SFTR";
|
||||
}
|
||||
|
||||
if ($key['JENIS']==1) {
|
||||
$jenis = "PILIHAN (Tidak ada GrandTotal)";
|
||||
} else if ($key['JENIS']==2) {
|
||||
$jenis = "PAKET (Ada GrandTotal)";
|
||||
}
|
||||
?>
|
||||
<td class="center"><?= $no++; ?></td>
|
||||
<td><b style="color:Tomato">[<?=$kop?> | <b style="color:SlateBlue"><?= $key['TANGGAL']; ?></b>]</b><br><b style="color:Black"><?= $key['KODE']; ?></b><br>(<?= $key['CIPTA']; ?>)</td>
|
||||
<td><b style="color:Green"><?= $key['CHANNEL']; ?></b></td>
|
||||
<td><b style="color:Chocolate"><?= $key['OTHER']; ?></b></td>
|
||||
<td><b style="color:Olive"><?= $key['PELANGGAN'] ?></b><br>Up : (<?= $key['UP'] ?>)</td>
|
||||
<td>
|
||||
<b style="color:DarkOrange"><span data-toggle="modal" data-target="#modalLihat"><button type="button" onclick="tampilkanDataDaftarPenawaran('2','<?=$key['ID']?>')" class="btn btn-xs btn-info" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Lihat Data"><i class="fa fa-search"></i></button></span> [<?= $key['LAMPIRAN']; ?> Bendel]</b>
|
||||
<br><b style="color:SaddleBrown"><?= $key['PERIHAL']; ?></b><br><br><b style="color:DarkViolet">(<?= $key['NILAI']; ?>)</b><br><br><?= $jenis; ?>
|
||||
</td>
|
||||
<td><b style="color:Tomato">[<?= $key['TGL']; ?> | <?= $key['STAT']; ?>]</b><br><?= $key['KET']; ?></td>
|
||||
<?php if ($hak>1) { ?>
|
||||
<td class="actions center">
|
||||
<span data-toggle="modal" data-target="#modalIsi"><button type="button" onclick="isiData('<?=$key['ID']?>')" class="btn btn-xs btn-dark" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Isi Data"><i class="fa fa-reorder"></i></button></span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } }
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-accordion">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title">
|
||||
<a onclick="setToggle(2)" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo">
|
||||
<b class="f18" style="color:Green"><b style="color:Black">[2]</b> BERJALAN | <u style="color:DarkRed"><?=$countBerjalan?></u> DATA</b>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="collapseTwo" class="accordion-body collapse <?php if ($posisiToggle==2) { ?>in<?php } ?>">
|
||||
<div class="panel-body">
|
||||
<table class="table table-bordered table-striped mb-none" id="table2">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Kode</th>
|
||||
<th class="default">Sales<br>Channel</th>
|
||||
<th class="default">Sales<br>Produk/Proyek</th>
|
||||
<th class="default">Pelanggan</th>
|
||||
<th class="default">Ringkasan</th>
|
||||
<th class="default">Informasi Terakhir</th>
|
||||
<?php if ($hak>1) { ?>
|
||||
<th class="center default">Laporan</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($berjalan) || is_object($berjalan)) {
|
||||
$no = 1;
|
||||
foreach ($berjalan as $key) {
|
||||
if ($key['SHOW']==1) {
|
||||
?>
|
||||
<tr>
|
||||
<?php
|
||||
if ($key['KOP']==1) {
|
||||
$kop = "TMP";
|
||||
} else if ($key['KOP']==2) {
|
||||
$kop = "DMT";
|
||||
} else if ($key['KOP']==4) {
|
||||
$kop = "SFTR";
|
||||
}
|
||||
|
||||
if ($key['JENIS']==1) {
|
||||
$jenis = "PILIHAN (Tidak ada GrandTotal)";
|
||||
} else if ($key['JENIS']==2) {
|
||||
$jenis = "PAKET (Ada GrandTotal)";
|
||||
}
|
||||
?>
|
||||
<td class="center"><?= $no++; ?></td>
|
||||
<td><b style="color:Tomato">[<?=$kop?> | <b style="color:SlateBlue"><?= $key['TANGGAL']; ?></b>]</b><br><b style="color:Black"><?= $key['KODE']; ?></b><br>(<?= $key['CIPTA']; ?>)</td>
|
||||
<td><b style="color:Green"><?= $key['CHANNEL']; ?></b></td>
|
||||
<td><b style="color:Chocolate"><?= $key['OTHER']; ?></b></td>
|
||||
<td><b style="color:Olive"><?= $key['PELANGGAN'] ?></b><br>Up : (<?= $key['UP'] ?>)</td>
|
||||
<td>
|
||||
<b style="color:DarkOrange"><span data-toggle="modal" data-target="#modalLihat"><button type="button" onclick="tampilkanDataDaftarPenawaran('2','<?=$key['ID']?>')" class="btn btn-xs btn-info" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Lihat Data"><i class="fa fa-search"></i></button></span> [<?= $key['LAMPIRAN']; ?> Bendel]</b>
|
||||
<br><b style="color:SaddleBrown"><?= $key['PERIHAL']; ?></b><br><br><b style="color:DarkViolet">(<?= $key['NILAI']; ?>)</b><br><br><?= $jenis; ?>
|
||||
</td>
|
||||
<td><b style="color:Tomato">[<?= $key['TGL']; ?> | <?= $key['STAT']; ?>]</b><br><?= $key['KET']; ?></td>
|
||||
<?php if ($hak>1) { ?>
|
||||
<td class="actions center">
|
||||
<span data-toggle="modal" data-target="#modalIsi"><button type="button" onclick="isiData('<?=$key['ID']?>')" class="btn btn-xs btn-dark" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Isi Data"><i class="fa fa-reorder"></i></button></span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } }
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-accordion">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title">
|
||||
<a onclick="setToggle(3)" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseThree">
|
||||
<b class="f18" style="color:Green"><b style="color:Black">[3]</b> BUDGETING | <u style="color:DarkRed"><?=$countBudget?></u> DATA</b>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="collapseThree" class="accordion-body collapse <?php if ($posisiToggle==3) { ?>in<?php } ?>">
|
||||
<div class="panel-body">
|
||||
<table class="table table-bordered table-striped mb-none" id="table3">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Kode</th>
|
||||
<th class="default">Sales<br>Channel</th>
|
||||
<th class="default">Sales<br>Produk/Proyek</th>
|
||||
<th class="default">Pelanggan</th>
|
||||
<th class="default">Ringkasan</th>
|
||||
<th class="default">Informasi Terakhir</th>
|
||||
<?php if ($hak>1) { ?>
|
||||
<th class="center default">Laporan</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($budget) || is_object($budget)) {
|
||||
$no = 1;
|
||||
foreach ($budget as $key) {
|
||||
if ($key['SHOW']==1) {
|
||||
?>
|
||||
<tr>
|
||||
<?php
|
||||
if ($key['KOP']==1) {
|
||||
$kop = "TMP";
|
||||
} else if ($key['KOP']==2) {
|
||||
$kop = "DMT";
|
||||
} else if ($key['KOP']==4) {
|
||||
$kop = "SFTR";
|
||||
}
|
||||
|
||||
if ($key['JENIS']==1) {
|
||||
$jenis = "PILIHAN (Tidak ada GrandTotal)";
|
||||
} else if ($key['JENIS']==2) {
|
||||
$jenis = "PAKET (Ada GrandTotal)";
|
||||
}
|
||||
?>
|
||||
<td class="center"><?= $no++; ?></td>
|
||||
<td><b style="color:Tomato">[<?=$kop?> | <b style="color:SlateBlue"><?= $key['TANGGAL']; ?></b>]</b><br><b style="color:Black"><?= $key['KODE']; ?></b><br>(<?= $key['CIPTA']; ?>)</td>
|
||||
<td><b style="color:Green"><?= $key['CHANNEL']; ?></b></td>
|
||||
<td><b style="color:Chocolate"><?= $key['OTHER']; ?></b></td>
|
||||
<td><b style="color:Olive"><?= $key['PELANGGAN'] ?></b><br>Up : (<?= $key['UP'] ?>)</td>
|
||||
<td>
|
||||
<b style="color:DarkOrange"><span data-toggle="modal" data-target="#modalLihat"><button type="button" onclick="tampilkanDataDaftarPenawaran('2','<?=$key['ID']?>')" class="btn btn-xs btn-info" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Lihat Data"><i class="fa fa-search"></i></button></span> [<?= $key['LAMPIRAN']; ?> Bendel]</b>
|
||||
<br><b style="color:SaddleBrown"><?= $key['PERIHAL']; ?></b><br><br><b style="color:DarkViolet">(<?= $key['NILAI']; ?>)</b><br><br><?= $jenis; ?>
|
||||
</td>
|
||||
<td><b style="color:Tomato">[<?= $key['TGL']; ?> | <?= $key['STAT']; ?>]</b><br><?= $key['KET']; ?></td>
|
||||
<?php if ($hak>1) { ?>
|
||||
<td class="actions center">
|
||||
<span data-toggle="modal" data-target="#modalIsi"><button type="button" onclick="isiData('<?=$key['ID']?>')" class="btn btn-xs btn-dark" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Isi Data"><i class="fa fa-reorder"></i></button></span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } }
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-accordion">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title">
|
||||
<a onclick="setToggle(4)" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseFour">
|
||||
<b class="f18" style="color:Green"><b style="color:Black">[4]</b> BUTUH PERHATIAN | <u style="color:DarkRed"><?=$countPerhatian?></u> DATA</b>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="collapseFour" class="accordion-body collapse <?php if ($posisiToggle==4) { ?>in<?php } ?>">
|
||||
<div class="panel-body">
|
||||
<table class="table table-bordered table-striped mb-none" id="table4">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Kode</th>
|
||||
<th class="default">Sales<br>Channel</th>
|
||||
<th class="default">Sales<br>Produk/Proyek</th>
|
||||
<th class="default">Pelanggan</th>
|
||||
<th class="default">Ringkasan</th>
|
||||
<th class="default">Informasi Terakhir</th>
|
||||
<?php if ($hak>1) { ?>
|
||||
<th class="center default">Laporan</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($perhatian) || is_object($perhatian)) {
|
||||
$no = 1;
|
||||
foreach ($perhatian as $key) {
|
||||
if ($key['SHOW']==1) {
|
||||
?>
|
||||
<tr>
|
||||
<?php
|
||||
if ($key['KOP']==1) {
|
||||
$kop = "TMP";
|
||||
} else if ($key['KOP']==2) {
|
||||
$kop = "DMT";
|
||||
} else if ($key['KOP']==4) {
|
||||
$kop = "SFTR";
|
||||
}
|
||||
|
||||
if ($key['JENIS']==1) {
|
||||
$jenis = "PILIHAN (Tidak ada GrandTotal)";
|
||||
} else if ($key['JENIS']==2) {
|
||||
$jenis = "PAKET (Ada GrandTotal)";
|
||||
}
|
||||
?>
|
||||
<td class="center"><?= $no++; ?></td>
|
||||
<td><b style="color:Tomato">[<?=$kop?> | <b style="color:SlateBlue"><?= $key['TANGGAL']; ?></b>]</b><br><b style="color:Black"><?= $key['KODE']; ?></b><br>(<?= $key['CIPTA']; ?>)</td>
|
||||
<td><b style="color:Green"><?= $key['CHANNEL']; ?></b></td>
|
||||
<td><b style="color:Chocolate"><?= $key['OTHER']; ?></b></td>
|
||||
<td><b style="color:Olive"><?= $key['PELANGGAN'] ?></b><br>Up : (<?= $key['UP'] ?>)</td>
|
||||
<td>
|
||||
<b style="color:DarkOrange"><span data-toggle="modal" data-target="#modalLihat"><button type="button" onclick="tampilkanDataDaftarPenawaran('2','<?=$key['ID']?>')" class="btn btn-xs btn-info" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Lihat Data"><i class="fa fa-search"></i></button></span> [<?= $key['LAMPIRAN']; ?> Bendel]</b>
|
||||
<br><b style="color:SaddleBrown"><?= $key['PERIHAL']; ?></b><br><br><b style="color:DarkViolet">(<?= $key['NILAI']; ?>)</b><br><br><?= $jenis; ?>
|
||||
</td>
|
||||
<td><b style="color:Tomato">[<?= $key['TGL']; ?> | <?= $key['STAT']; ?>]</b><br><?= $key['KET']; ?></td>
|
||||
<?php if ($hak>1) { ?>
|
||||
<td class="actions center">
|
||||
<span data-toggle="modal" data-target="#modalIsi"><button type="button" onclick="isiData('<?=$key['ID']?>')" class="btn btn-xs btn-dark" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Isi Data"><i class="fa fa-reorder"></i></button></span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } }
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-accordion">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title">
|
||||
<a onclick="setToggle(5)" class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseFive">
|
||||
<b class="f18" style="color:Green"><b style="color:Black">[5]</b> TARGET TERCAPAI | <u style="color:DarkRed"><?=$countTercapai?></u> DATA</b>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="collapseFive" class="accordion-body collapse <?php if ($posisiToggle==5) { ?>in<?php } ?>">
|
||||
<div class="panel-body">
|
||||
<table class="table table-bordered table-striped mb-none" id="table5">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Kode</th>
|
||||
<th class="default">Sales<br>Channel</th>
|
||||
<th class="default">Sales<br>Produk/Proyek</th>
|
||||
<th class="default">Pelanggan</th>
|
||||
<th class="default">Ringkasan</th>
|
||||
<th class="default">Informasi Terakhir</th>
|
||||
<?php if ($hak>1) { ?>
|
||||
<th class="center default">Laporan</th>
|
||||
<?php } ?>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($tercapai) || is_object($tercapai)) {
|
||||
$no = 1;
|
||||
foreach ($tercapai as $key) {
|
||||
if ($key['SHOW']==1) {
|
||||
?>
|
||||
<tr>
|
||||
<?php
|
||||
if ($key['KOP']==1) {
|
||||
$kop = "TMP";
|
||||
} else if ($key['KOP']==2) {
|
||||
$kop = "DMT";
|
||||
} else if ($key['KOP']==4) {
|
||||
$kop = "SFTR";
|
||||
}
|
||||
|
||||
if ($key['JENIS']==1) {
|
||||
$jenis = "PILIHAN (Tidak ada GrandTotal)";
|
||||
} else if ($key['JENIS']==2) {
|
||||
$jenis = "PAKET (Ada GrandTotal)";
|
||||
}
|
||||
?>
|
||||
<td class="center"><?= $no++; ?></td>
|
||||
<td><b style="color:Tomato">[<?=$kop?> | <b style="color:SlateBlue"><?= $key['TANGGAL']; ?></b>]</b><br><b style="color:Black"><?= $key['KODE']; ?></b><br>(<?= $key['CIPTA']; ?>)</td>
|
||||
<td><b style="color:Green"><?= $key['CHANNEL']; ?></b></td>
|
||||
<td><b style="color:Chocolate"><?= $key['OTHER']; ?></b></td>
|
||||
<td><b style="color:Olive"><?= $key['PELANGGAN'] ?></b><br>Up : (<?= $key['UP'] ?>)</td>
|
||||
<td>
|
||||
<b style="color:DarkOrange"><span data-toggle="modal" data-target="#modalLihat"><button type="button" onclick="tampilkanDataDaftarPenawaran('2','<?=$key['ID']?>')" class="btn btn-xs btn-info" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Lihat Data"><i class="fa fa-search"></i></button></span> [<?= $key['LAMPIRAN']; ?> Bendel]</b>
|
||||
<br><b style="color:SaddleBrown"><?= $key['PERIHAL']; ?></b><br><br><b style="color:DarkViolet">(<?= $key['NILAI']; ?>)</b><br><br><?= $jenis; ?>
|
||||
</td>
|
||||
<td><b style="color:Tomato">[<?= $key['TGL']; ?> | <?= $key['STAT']; ?>]</b><br><?= $key['KET']; ?></td>
|
||||
<?php if ($hak>1) { ?>
|
||||
<td class="actions center">
|
||||
<span data-toggle="modal" data-target="#modalIsi"><button type="button" onclick="isiData('<?=$key['ID']?>')" class="btn btn-xs btn-dark" title="" data-toggle="tooltip" data-trigger="hover" data-original-title="Tombol untuk Isi Data"><i class="fa fa-reorder"></i></button></span>
|
||||
</td>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?php } }
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!-- end: page -->
|
||||
</section>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div id="modalFitur" class="modal fade" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg" style="width:50%">
|
||||
<div class="modal-content">
|
||||
<header class="panel-heading">
|
||||
<h4 class="panel-title"><b>Fitur Teknis</b></h4>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-text">
|
||||
<div class="form-group">
|
||||
<h5>
|
||||
<b style="color:DarkRed">Berikut ini adalah Daftar Menu yang dapat diakses sesuai dengan Hak Akses Anda.</b><br>
|
||||
<br><b style="color:DarkGreen">AKSES PENUH</b><br><b> Bisa melihat semua Data</b><br>
|
||||
<br><b style="color:DarkGreen">OPERATOR</b><br><b>Hanya bisa melihat Data milik Sendiri</b><br>
|
||||
</h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="panel-footer">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<button type="button" class="btn btn-default pull-right" data-dismiss="modal">Close</button>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="modalLihat" class="modal fade ui-front" tabindex="-1" role="dialog">
|
||||
<div class="modal-dialog modal-lg" style="width:66%">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title"><b>Isi Data | [<b id="kode_penawaranLihat" style="color:Red"></b>]</b></h2>
|
||||
<div class="panel-actions">
|
||||
<a data-dismiss="modal" class="text-dark"><b>Tutup </b><i class="fa fa-times"></i></a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-text">
|
||||
<div class="row form-bordered">
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<table class="table table-bordered table-striped mb-none">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Deskripsi</th>
|
||||
<th class="center default">Kuantiti</th>
|
||||
<th class="center default">Satuan</th>
|
||||
<th class="text-right">Harga Satuan</th>
|
||||
<th class="text-right">Subtotal Harga</th>
|
||||
</thead>
|
||||
<tbody id="isiTabelDpne"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="panel-footer">
|
||||
<div class="row">
|
||||
<div hidden="hidden" id="grandTotalLihat" class="col-md-12 text-right">
|
||||
<div class="btn-group-vertical">
|
||||
<button type="button" class="btn btn-default"><b style="color:Teal">BRUTO <b id="dppView">0.00</b></b></button>
|
||||
<button type="button" class="btn btn-default"><b style="color:DarkViolet">PPN <b id="ppnView">0.00</b></b></button>
|
||||
<button type="button" class="btn btn-default"><b style="color:DarkRed">TOTAL <b id="totView">0.00</b></b></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="modalIsi" class="modal fade ui-front" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static">
|
||||
<div class="modal-dialog modal-lg" style="width:85%">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title"><b>Isi Data | <b id="kodePenawaran" style="color:Green"></b></b></h2>
|
||||
<div class="panel-actions">
|
||||
<a onclick="resetIntervalAll()" class="text-dark"><b>Tutup & Refresh</b></a>
|
||||
</div>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<div class="modal-wrapper">
|
||||
<div class="modal-text">
|
||||
<div class="row form-bordered">
|
||||
<div class="form-group">
|
||||
<div class="col-md-4">
|
||||
<section class="form-group-vertical">
|
||||
<input type="hidden" id="id_hpnein" class="form-control" value="">
|
||||
<input type="hidden" id="id_penawaranin" class="form-control" value="">
|
||||
<input type="hidden" id="posisiin" class="form-control" value="">
|
||||
<select data-plugin-selectTwo id="status_hpnenew" class="form-control populate">
|
||||
<option value="" selected>Pilih Status Penawaran</option>
|
||||
<?php if (is_array($spe) || is_object($spe)) {
|
||||
foreach ($spe as $key) { ?>
|
||||
<option value="<?= $key['ID_SPE'] ?>">[<?= $key['ID_SPE'] ?>] <?= $key['NAMA_SPE'] ?></option>
|
||||
<?php }
|
||||
} ?>
|
||||
</select>
|
||||
<input type="date" class="form-control" name="fu_hpnenew" id="fu_hpnenew">
|
||||
<textarea autocomplete="off" class="form-control" rows="5" name="ket_hpnenew" id="ket_hpnenew" placeholder="Keterangan Reminder"></textarea>
|
||||
<element id="submitSimpan"><button type="submit" onclick="simpanHpne();" class="btn btn-success"><b>Simpan Data</b> <i class="fa fa-plus"></i></button></element>
|
||||
<element hidden="hidden" id="submitUbah"><button type="submit" onclick="ubahHpne();" class="btn btn-warning"><b>Ubah Data</b> <i class="fa fa-pencil"></i></button></element>
|
||||
</section>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<table class="table table-bordered table-striped mb-none">
|
||||
<thead>
|
||||
<th class="center default">No</th>
|
||||
<th class="default">Cipta</th>
|
||||
<th class="default">Keterangan</th>
|
||||
<th class="default">Reminder</th>
|
||||
<th class="default">Status</th>
|
||||
<th class="center default">PILIHAN</th>
|
||||
</thead>
|
||||
<tbody id="isiTabelHpne"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$this->load->view('template/sidebar_right');
|
||||
$this->load->view('template/script_vendor');
|
||||
$this->load->view('template/script_flashdata');
|
||||
$this->load->view('template/notification');
|
||||
?>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
document.getElementById("grandTotalLihat").style.display = 'none';
|
||||
} );
|
||||
|
||||
$('#table1').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
|
||||
$('#table2').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
|
||||
$('#table3').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
|
||||
$('#table4').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
|
||||
$('#table5').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
|
||||
function setToggle(node) {
|
||||
$.ajax({
|
||||
url: "<?= base_url() ?>index.php/Menu/GE_Ubah_SetTogglePosisi",
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
data: {
|
||||
node : node,
|
||||
menu : <?=$id_menu?>,
|
||||
},
|
||||
success: function(response) {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function isiData(id) {
|
||||
PNotify.removeAll();
|
||||
$("#id_penawaranin").val(id);
|
||||
tampilkanDataHistoriPenawaran(id);
|
||||
}
|
||||
|
||||
function tampilkanDataHistoriPenawaran(id) {
|
||||
var hak = <?=$hak?>;
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
data: {
|
||||
verse : 1,
|
||||
id_penawaran : id,
|
||||
},
|
||||
url: '<?= base_url('') ?>index.php/Menu/GE_Ambil_DataHistoriPenawaran',
|
||||
dataType: 'json',
|
||||
success: function(response) {
|
||||
var baris = '';
|
||||
JUMLAH = response.total;
|
||||
|
||||
for (var i = 1; i <= JUMLAH; i++) {
|
||||
var id_hpne = response.data[i - 1]['ID_HPNE'];
|
||||
var cipta = response.data[i - 1]['CIPTA_HPNE'];
|
||||
var ket = response.data[i - 1]['KET_HPNE'];
|
||||
var fu = response.data[i - 1]['FU_HPNE'];
|
||||
var tgl = response.data[i - 1]['TANGGAL'];
|
||||
var stat = response.data[i - 1]['NAMA_SPE'];
|
||||
var status = response.data[i - 1]['STATUS_HPNE'];
|
||||
|
||||
baris += '<tr>';
|
||||
baris += '<td class="center" style="vertical-align: middle;" >' + i + ' <element id="tampilkanIconCek' + i + '" hidden="hidden"><i class="fa fa-check" style="color:Green"></i></element></td>';
|
||||
baris += '<td class="text-left" style="vertical-align: middle;"><b style="color:SlateBlue">' + cipta + '</b></td>';
|
||||
baris += '<td class="text-left" style="vertical-align: middle;">' + ket + '</td>';
|
||||
baris += '<td class="text-left" style="vertical-align: middle;"><b style="color:Green">' + tgl + '</b></td>';
|
||||
baris += '<td class="text-left" style="vertical-align: middle;"><b style="color:Tomato">' + stat + '</b></td>';
|
||||
if (i==response.total && i>2 && hak>1) {
|
||||
baris += '<td class="action center" style="vertical-align: middle;"><element id="tampilkanIconBan' + i + '" hidden="hidden"><button type="button" class="btn btn-xs btn-default text-danger" onclick="batalUbah(' + i + ')"><i class="fa fa-ban"></i></button></element><element id="ubahIcon' + i + '"><button type="button" onclick="ubahHpneData(' + id_hpne + ',' + i + ',`' + ket + '`,`' + fu + '`,' + status + ')" class="btn btn-xs btn-warning"><i class="fa fa-pencil"></i></button> <button type="button" onclick="hapusHpne(' + id_hpne + ',' + id + ')" class="btn btn-xs btn-danger"><i class="fa fa-times"></i></button></element></td>';
|
||||
} else {
|
||||
baris += '<td></td>';
|
||||
}
|
||||
baris += '</tr>';
|
||||
}
|
||||
$('#isiTabelHpne').html(baris);
|
||||
$('#kodePenawaran').html(response.kode);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function tampilkanDataDaftarPenawaran(verse, id) {
|
||||
var hak = <?=$hak?>;
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
data: {
|
||||
id_penawaran : id,
|
||||
verse : verse
|
||||
},
|
||||
url: '<?= base_url('') ?>index.php/Menu/GE_Ambil_DataDaftarPenawaran',
|
||||
dataType: 'json',
|
||||
success: function(response) {
|
||||
var baris = '';
|
||||
JUMLAH = response.total;
|
||||
if (JUMLAH==0) {
|
||||
baris += '<tr>';
|
||||
baris += '<td class="text-center" colspan="9"><h5><i><b style="color:DarkOrange">Data Kosong.</b></i></h5></td>';
|
||||
baris += '</tr>';
|
||||
$('#isiTabelBaru').html(baris);
|
||||
document.getElementById("buttonKunci").disabled = true;
|
||||
} else {
|
||||
for (var i = 1; i <= JUMLAH; i++) {
|
||||
var id = response.data[i - 1]['ID_DPNE'];
|
||||
var nama_dpne = response.data[i - 1]['NAMA_DPNE'];
|
||||
var qty_dpne = response.data[i - 1]['QTY_DPNE'];
|
||||
var satuan = response.data[i - 1]['NAMA_SATUAN'];
|
||||
var satuan_id = response.data[i - 1]['SATUAN_ID'];
|
||||
var harga_dpne = response.data[i - 1]['HARGA_DPNE'];
|
||||
var harga = response.data[i - 1]['HARGA'];
|
||||
var subtotal = response.data[i - 1]['SUBTOTAL'];
|
||||
|
||||
baris += '<tr>';
|
||||
baris += '<td class="center" style="vertical-align: middle;">' + i + '</td>';
|
||||
baris += '<td class="text-left" style="vertical-align: middle;"><b style="color:Black">' + nama_dpne + '</b></td>';
|
||||
baris += '<td class="center" style="vertical-align: middle;"><b style="color:Green">' + qty_dpne + '</b></td>';
|
||||
baris += '<td class="center" style="vertical-align: middle;"><b style="color:Chocolate">' + satuan + '</b></td>';
|
||||
baris += '<td class="text-right" style="vertical-align: middle;"><b style="color:Tomato">' + harga + '</b></td>';
|
||||
baris += '<td class="text-right" style="vertical-align: middle;"><b style="color:SaddleBrown">' + subtotal + '</b></td>';
|
||||
baris += '</tr>';
|
||||
}
|
||||
}
|
||||
$('#isiTabelDpne').html(baris);
|
||||
$('#kode_penawaranLihat').html(response.kode_penawaran);
|
||||
$("#dppView").html(response.dppDpne);
|
||||
$("#ppnView").html(response.ppnDpne);
|
||||
$("#totView").html(response.totDpne);
|
||||
if (response.jenis_penawaran==1) {
|
||||
document.getElementById("grandTotalLihat").style.display = 'none';
|
||||
} else if (response.jenis_penawaran==2) {
|
||||
document.getElementById("grandTotalLihat").style.display = 'block';
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function resetIntervalAll() {
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function simpanHpne() {
|
||||
var id_penawaran = document.getElementById("id_penawaranin").value;
|
||||
var status_hpne = document.getElementById("status_hpnenew").value;
|
||||
var ket_hpne = document.getElementById("ket_hpnenew").value;
|
||||
var fu_hpne = document.getElementById("fu_hpnenew").value;
|
||||
var status = 0;
|
||||
|
||||
PNotify.removeAll();
|
||||
|
||||
if (status_hpne=="") {
|
||||
notify("statusid_null");
|
||||
status++;
|
||||
}
|
||||
|
||||
if (ket_hpne=="") {
|
||||
notify("ket_null");
|
||||
status++;
|
||||
}
|
||||
|
||||
if (fu_hpne=="") {
|
||||
notify("date_null");
|
||||
status++;
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
data: {
|
||||
id_penawaran : id_penawaran,
|
||||
status_hpne : status_hpne,
|
||||
ket_hpne : ket_hpne,
|
||||
fu_hpne : fu_hpne,
|
||||
},
|
||||
url: '<?= base_url('') ?>index.php/Menu/KP_Tambah_Sub1_C1_DataHistoriPenawaran',
|
||||
dataType: 'json',
|
||||
success: function(response) {
|
||||
if (response.value == 2) {
|
||||
notify("latest");
|
||||
delayReload(1000,"<?= base_url() ?>index.php/Menu/KP_Sub1_TindakLanjut_1");
|
||||
} else if (response.value == 1) {
|
||||
|
||||
} else if (response.value == 0) {
|
||||
notify("failed");
|
||||
}
|
||||
document.getElementById("status_hpnenew").value = null;
|
||||
document.getElementById("ket_hpnenew").value = null;
|
||||
document.getElementById("fu_hpnenew").value = null;
|
||||
$('#status_hpnenew').select2().select2('val', null);
|
||||
tampilkanDataHistoriPenawaran(id_penawaran);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function ubahHpneData(id_hpne, posisi, ket_hpne, fu_hpne, status_hpne) {
|
||||
$("#id_hpnein").val(id_hpne);
|
||||
$("#posisiin").val(posisi);
|
||||
document.getElementById("ubahIcon" + posisi).style.display = 'none';
|
||||
document.getElementById("tampilkanIconCek" + posisi).style.display = 'block';
|
||||
document.getElementById("tampilkanIconBan" + posisi).style.display = 'block';
|
||||
document.getElementById("submitSimpan").style.display = 'none';
|
||||
document.getElementById("submitUbah").style.display = 'block';
|
||||
|
||||
document.getElementById("status_hpnenew").value = status_hpne;
|
||||
document.getElementById("ket_hpnenew").value = ket_hpne;
|
||||
document.getElementById("fu_hpnenew").value = fu_hpne;
|
||||
$('#status_hpnenew').select2().select2('val', status_hpne);
|
||||
}
|
||||
|
||||
function ubahHpne() {
|
||||
var id_penawaran = document.getElementById("id_penawaranin").value;
|
||||
var id_hpne = document.getElementById("id_hpnein").value;
|
||||
var posisi = document.getElementById("posisiin").value;
|
||||
var status_hpne = document.getElementById("status_hpnenew").value;
|
||||
var ket_hpne = document.getElementById("ket_hpnenew").value;
|
||||
var fu_hpne = document.getElementById("fu_hpnenew").value;
|
||||
var status = 0;
|
||||
|
||||
PNotify.removeAll();
|
||||
|
||||
if (status_hpne=="") {
|
||||
notify("statusid_null");
|
||||
status++;
|
||||
}
|
||||
|
||||
if (ket_hpne=="") {
|
||||
notify("ket_null");
|
||||
status++;
|
||||
}
|
||||
|
||||
if (fu_hpne=="") {
|
||||
notify("date_null");
|
||||
status++;
|
||||
}
|
||||
|
||||
if (status == 0) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
data: {
|
||||
id_penawaran : id_penawaran,
|
||||
id_hpne : id_hpne,
|
||||
status_hpne : status_hpne,
|
||||
fu_hpne : fu_hpne,
|
||||
ket_hpne : ket_hpne,
|
||||
},
|
||||
url: '<?= base_url('') ?>index.php/Menu/KP_Ubah_Sub1_C1_DataHistoriPenawaran',
|
||||
dataType: 'json',
|
||||
success: function(response) {
|
||||
if (response.value == 3 || response.value == 2) {
|
||||
notify("latest");
|
||||
delayReload(1000,"<?= base_url() ?>index.php/Menu/KP_Sub1_TindakLanjut_1");
|
||||
} else if (response.value == 1) {
|
||||
|
||||
} else if (response.value == 0) {
|
||||
notify("failed");
|
||||
}
|
||||
|
||||
document.getElementById("ubahIcon" + posisi).style.display = 'block';
|
||||
document.getElementById("tampilkanIconCek" + posisi).style.display = 'none';
|
||||
document.getElementById("tampilkanIconBan" + posisi).style.display = 'none';
|
||||
document.getElementById("submitSimpan").style.display = 'block';
|
||||
document.getElementById("submitUbah").style.display = 'none';
|
||||
|
||||
document.getElementById("status_hpnenew").value = null;
|
||||
document.getElementById("ket_hpnenew").value = null;
|
||||
document.getElementById("fu_hpnenew").value = null;
|
||||
$('#status_hpnenew').select2().select2('val', null);
|
||||
|
||||
tampilkanDataHistoriPenawaran(id_penawaran);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function batalUbah(posisi) {
|
||||
document.getElementById("ubahIcon" + posisi).style.display = 'block';
|
||||
document.getElementById("tampilkanIconCek" + posisi).style.display = 'none';
|
||||
document.getElementById("tampilkanIconBan" + posisi).style.display = 'none';
|
||||
document.getElementById("submitSimpan").style.display = 'block';
|
||||
document.getElementById("submitUbah").style.display = 'none';
|
||||
|
||||
document.getElementById("status_hpnenew").value = null;
|
||||
document.getElementById("ket_hpnenew").value = null;
|
||||
document.getElementById("fu_hpnenew").value = null;
|
||||
$('#status_hpnenew').select2().select2('val', null);
|
||||
}
|
||||
|
||||
function hapusHpne(id_hpne, id_penawaran) {
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
data: {
|
||||
id_hpne : id_hpne,
|
||||
id_penawaran : id_penawaran,
|
||||
},
|
||||
url: '<?= base_url('') ?>index.php/Menu/KP_Hapus_Sub1_C1_DataHistoriPenawaran',
|
||||
dataType: 'json',
|
||||
success: function(response) {
|
||||
PNotify.removeAll();
|
||||
if (response.value==1) {
|
||||
|
||||
} else if (response.value==2 || response.value==3) {
|
||||
notify("latest");
|
||||
delayReload(1000,"<?= base_url() ?>index.php/Menu/KP_Sub1_TindakLanjut_1");
|
||||
} else if (response.value==0) {
|
||||
notify("failed");
|
||||
}
|
||||
|
||||
document.getElementById("status_hpnenew").value = null;
|
||||
document.getElementById("ket_hpnenew").value = null;
|
||||
document.getElementById("fu_hpnenew").value = null;
|
||||
$('#status_hpnenew').select2().select2('val', null);
|
||||
|
||||
tampilkanDataHistoriPenawaran(id_penawaran);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user