505 lines
20 KiB
PHP
505 lines
20 KiB
PHP
<!doctype html>
|
|
<html class="fixed sidebar-left-collapsed">
|
|
|
|
<head>
|
|
|
|
<!-- Basic -->
|
|
<meta charset="UTF-8">
|
|
|
|
<title>PROSES | VISIT SALES</title>
|
|
<meta name="keywords" content="HTML5 Admin Template" />
|
|
<meta name="description" content="Porto Admin - Responsive HTML5 Template">
|
|
<meta name="author" content="okler.net">
|
|
<link rel="icon" type="image/png" href="<?php echo base_url('')?>assets/images/logoPcmBaru3.png" />
|
|
|
|
<!-- 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/morris/morris.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>
|
|
|
|
<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">
|
|
<header class="page-header">
|
|
<?php if ($id_karyawan==1 OR $id_karyawan==2 OR $id_karyawan==50) { ?>
|
|
<h2><strong>Rekap Visit | </strong><b style="color:Yellow">Semua Sales</b></h2>
|
|
<?php } else { ?>
|
|
<h2><strong>Rekap Visit</strong></h2>
|
|
<?php } ?>
|
|
<div class="right-wrapper pull-right">
|
|
<ol class="breadcrumbs">
|
|
<li><span><strong style="color:Orange">Master Data </span></strong></li>
|
|
</ol>
|
|
|
|
<a class="sidebar-right-toggle" data-open="sidebar-right"><i class="fa fa-chevron-left"></i></a>
|
|
</div>
|
|
</header>
|
|
|
|
<!-- start: page -->
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<section class="panel panel-featured panel-featured-success">
|
|
<header class="panel-heading">
|
|
<div class="panel-actions">
|
|
<a href="<?php echo base_url('') ?>index.php" class="text-dark"><strong>Kembali</strong><i class="fa fa-backward"></i></a>
|
|
</div>
|
|
<?php if ($stat01==0 AND $stat02==0 AND $stat03==0 AND $stat04==0 AND $stat05==0 AND $stat06==0 AND $stat07==0 AND $stat08==0 AND $stat09==0 AND $stat10==0) { ?>
|
|
<h2 class="panel-title"><strong style="color:Teal">DATA REKAP VISIT </strong><i>(Data Kosong)</i></h2>
|
|
<?php } else { ?>
|
|
<h2 class="panel-title"><strong style="color:Teal">DATA REKAP VISIT</strong></h2>
|
|
<?php } ?>
|
|
</header>
|
|
|
|
<div class="panel-body">
|
|
<div class="row">
|
|
<div class="form-group">
|
|
<h4><label class="col-md-2 control-label"><b class="text-dark">Sales</b></label></h4>
|
|
<div class="col-md-8">
|
|
<div class="form-group">
|
|
<select data-plugin-selectTwo name="id_karyawan" id="id_karyawan" onchange="openTab(value);" class="form-control populate">
|
|
<?php if ($id_kar==1 OR $id_kar==2 OR $id_kar==50) { ?>
|
|
<option value="0" selected>Semua Sales</option>
|
|
<?php } ?>
|
|
<?php if (is_array($karyawan) || is_object($karyawan)) {
|
|
foreach ($karyawan as $key) { ?>
|
|
<?php if ($id_karyawan==$key['ID_KARYAWAN']) { ?>
|
|
<option value="<?= $key['ID_KARYAWAN'] ?>" selected><?= $key['NAMA_PANGGILAN_KARYAWAN'] ?></option>
|
|
<?php } else if ($id_kar==1 OR $id_kar==2 OR $id_kar==50) { ?>
|
|
<option value="<?= $key['ID_KARYAWAN'] ?>" ><?= $key['NAMA_PANGGILAN_KARYAWAN'] ?></option>
|
|
<?php } ?>
|
|
<?php }
|
|
} ?>
|
|
</select>
|
|
<small class="help-block"></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php if ($stat01==0 AND $stat02==0 AND $stat03==0 AND $stat04==0 AND $stat05==0 AND $stat06==0 AND $stat07==0 AND $stat08==0 AND $stat09==0 AND $stat10==0) { ?>
|
|
|
|
<?php } else { ?>
|
|
<div class="chart chart-md" id="flotPie"></div>
|
|
<script type="text/javascript">
|
|
var stat01 = "<?=$stat01?>"; var stat02 = "<?=$stat02?>"; var stat03 = "<?=$stat03?>";
|
|
var stat04 = "<?=$stat04?>"; var stat05 = "<?=$stat05?>"; var stat06 = "<?=$stat06?>";
|
|
var stat07 = "<?=$stat07?>"; var stat08 = "<?=$stat08?>"; var stat09 = "<?=$stat09?>";
|
|
var stat10 = "<?=$stat10?>";
|
|
|
|
var flotPieData = [
|
|
{
|
|
label: "Bintang 1",
|
|
data: [
|
|
[1, stat01]
|
|
],
|
|
color: '#0088cc',
|
|
}, {
|
|
label: "Bintang 2",
|
|
data: [
|
|
[1, stat02]
|
|
],
|
|
color: '#2baab1'
|
|
}, {
|
|
label: "Bintang 3",
|
|
data: [
|
|
[1, stat03]
|
|
],
|
|
color: '#734ba9'
|
|
}, {
|
|
label: "Bintang 4",
|
|
data: [
|
|
[1, stat04]
|
|
],
|
|
color: '#E36159'
|
|
}, {
|
|
label: "Bintang 5",
|
|
data: [
|
|
[1, stat05]
|
|
],
|
|
color: '#6BA3B9'
|
|
}, {
|
|
label: "Bintang 6",
|
|
data: [
|
|
[1, stat06]
|
|
],
|
|
color: '#8E8C7F'
|
|
}, {
|
|
label: "Bintang 7",
|
|
data: [
|
|
[1, stat07]
|
|
],
|
|
color: '#212722'
|
|
}, {
|
|
label: "Bintang 8",
|
|
data: [
|
|
[1, stat08]
|
|
],
|
|
color: '#FE84DB'
|
|
}, {
|
|
label: "Bintang 9",
|
|
data: [
|
|
[1, stat09]
|
|
],
|
|
color: '#7A6E66'
|
|
}, {
|
|
label: "Bintang 10",
|
|
data: [
|
|
[1, stat10]
|
|
],
|
|
color: '#245C4E'
|
|
}];
|
|
</script>
|
|
</div>
|
|
<?php } ?>
|
|
</section>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<section class="panel panel-featured panel-featured-primary">
|
|
<header class="panel-heading">
|
|
<div class="panel-actions">
|
|
<a href="<?php echo base_url('') ?>index.php" class="text-dark"><strong>Kembali</strong><i class="fa fa-backward"></i></a>
|
|
</div>
|
|
<h2 class="panel-title"><strong style="color:FireBrick">LIST REKAP</strong></h2>
|
|
</header>
|
|
<div class="panel-body">
|
|
<table class="table table-bordered table-striped mb-none" id="datatable-default">
|
|
<thead>
|
|
<th class="center default">Point</th>
|
|
<th class="default">Status</th>
|
|
<th class="default center">Jumlah Data</th>
|
|
<th class="center default">Detail Data</th>
|
|
</thead>
|
|
<tbody>
|
|
<?php $no = 1; ?>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Perkenalan, Compro</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat01?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,1)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Contact Person</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat02?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,2)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Bertemu User, Non-Lead</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat03?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,3)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Bertemu User, Dapat Lead</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat04?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,4)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Permintaan Penawaran</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat05?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,5)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Follow Up Penawaran</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat06?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,6)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Negosiasi Harga</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat07?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,7)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Proses PO</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat08?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,8)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Proses Internal SO</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat09?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,9)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="center" style="color:Blue"><?=$no++;?> <i class="fa fa-star"></i></td>
|
|
<td class="text-dark"><strong>Lunas Terbayar</strong></td>
|
|
<td class="text-quartenary center text-bold"><?=$stat10?></td>
|
|
<td class="actions center">
|
|
<button type="button" class="btn btn-xs btn-default text-danger" onclick="openNewTab(<?php echo $id_karyawan;?>,10)"><i class="fa fa-external-link"></i></button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
<!-- end: page -->
|
|
</section>
|
|
|
|
|
|
<?php $this->load->view('template/sidebar_right'); ?>
|
|
<!-- Vendor -->
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery/jquery.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-browser-mobile/jquery.browser.mobile.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/bootstrap/js/bootstrap.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/nanoscroller/nanoscroller.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/magnific-popup/magnific-popup.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-placeholder/jquery.placeholder.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/bootstrap-maxlength/bootstrap-maxlength.js"></script>
|
|
|
|
<!-- Specific Page Vendor -->
|
|
<script src="<?php echo base_url('') ?>assets/vendor/select2/select2.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-datatables/media/js/jquery.dataTables.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-datatables-bs3/assets/js/datatables.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-appear/jquery.appear.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-easypiechart/jquery.easypiechart.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/flot/jquery.flot.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/flot-tooltip/jquery.flot.tooltip.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/flot/jquery.flot.pie.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/flot/jquery.flot.categories.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/flot/jquery.flot.resize.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-sparkline/jquery.sparkline.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/raphael/raphael.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/morris/morris.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/gauge/gauge.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/snap-svg/snap.svg.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/liquid-meter/liquid.meter.js"></script>
|
|
<!-- Specific Page Vendor -->
|
|
<script src="<?php echo base_url('') ?>assets/vendor/pnotify/pnotify.custom.js"></script>
|
|
|
|
<!-- Theme Base, Components and Settings -->
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/theme.js"></script>
|
|
|
|
<!-- Theme Custom -->
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/theme.custom.js"></script>
|
|
|
|
<!-- Theme Initialization Files -->
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/theme.init.js"></script>
|
|
|
|
|
|
<!-- Examples -->
|
|
<!-- Examples -->
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/tables/examples.datatables.default.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/tables/examples.datatables.row.with.details.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/tables/examples.datatables.tabletools.js"></script>
|
|
<!-- <script src="<?php echo base_url('') ?>assets/javascripts/tables/examples.datatables.editable.js"></script> -->
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/ui-elements/examples.notifications.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-validation/jquery.validate.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/forms/examples.validation.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/javascripts/ui-elements/examples.pie.js"></script>
|
|
<!-- notif -->
|
|
<?php $this->load->view('template/notification'); ?>
|
|
<script>
|
|
$(document).ready(function() {
|
|
<?php if ($this->session->flashdata('success')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data berhasil <?= $this->session->flashdata('success'); ?>.',
|
|
type: 'success',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('failed')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data gagal <?= $this->session->flashdata('failed'); ?>, hubungi Administrator',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('latest')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data sudah tidak ada, silahkan cek kembali.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('data_lock')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data berhasil <?= $this->session->flashdata('data_lock'); ?>. Kembali ke Menu Awal.',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('data_lock_print')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data berhasil <?= $this->session->flashdata('data_lock_print'); ?>. Silahkan Cetak Dokumen.',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('not_zero_negative')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Nilai kurang dari 0.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('data_used')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data sudah digunakan, tidak bisa diproses',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('data_used_do')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Hapus detail barang sebelum SO.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('data_used_sm')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Ada Slip Manual yang menggunakan SO ini.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('username_pass_success')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Anda berhasil <?= $this->session->flashdata('username_pass_success'); ?>. Masuk Mode Admin.',
|
|
type: 'success',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('username_pass_error')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Username Anda tidak berhak masuk Mode Admin, proses dihentikan.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('username_pass_error_revisi')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Username Anda bukan <?= $this->session->flashdata('username_pass_error_revisi'); ?>, proses dihentikan.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('limit_pelbaru_check')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Limit Pelanggan yang Baru kurang dari Nilai SO.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('not_valid')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data utama berubah, kembali ke Menu Awal.',
|
|
type: 'warning',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
});
|
|
|
|
$('#datatable-default').dataTable( {
|
|
"paging": false
|
|
} );
|
|
|
|
function batalData(id_sav) {
|
|
document.getElementById("id_savvoid").value = id_sav;
|
|
}
|
|
|
|
function openTab(id) {
|
|
window.location.href=("http://200.1.1.6/apps/index.php/ManageVisit/dataRekapVisit_Sales_A1/"+id);
|
|
}
|
|
|
|
function openNewTab(id_karyawan, id) {
|
|
window.open("http://200.1.1.6/apps/index.php/ManageVisit/dataRekapVisit_Sales_A2/"+id_karyawan+"/"+id, '_blank');
|
|
}
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|