554 lines
22 KiB
PHP
554 lines
22 KiB
PHP
<!doctype html>
|
|
<html class="fixed sidebar-left-collapsed">
|
|
|
|
<head>
|
|
|
|
<!-- Basic -->
|
|
<meta charset="UTF-8">
|
|
|
|
<title>PROSES | KEUANGAN</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" />
|
|
|
|
<!-- 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">
|
|
<h2><strong>PPN | Sampai Tanggal <b style="color:Yellow"><?=$tgl_view?></b></strong></h2>
|
|
<div class="right-wrapper pull-right">
|
|
<ol class="breadcrumbs">
|
|
<li>
|
|
<a href="<?php echo base_url() ?>index.php">
|
|
<i class="fa fa-home"></i>
|
|
</a>
|
|
</li>
|
|
<li><span>Rekap Pajak</span></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-12">
|
|
<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>
|
|
<h2 class="panel-title"><strong style="color:Green">REKAP PPN PEMUNGUT | </strong><b style="color:Teal"><?=$nama_corp?></b></h2>
|
|
</header>
|
|
<div class="panel-body">
|
|
<div class="row">
|
|
<div class="col-sm-7">
|
|
<div class="btn-group">
|
|
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#modal-clear"><strong>Bersihkan Data</strong> <i class="fa fa-upload"></i></button>
|
|
<button type="button" class="btn btn-warning" data-toggle="modal" data-target="#modal-back"><strong>Kembalikan Data</strong> <i class="fa fa-download"></i></button>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-5 pull-right">
|
|
<div class="btn-group btn-group-justified">
|
|
<?php if ($id_corp==1) { ?>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/1" class="btn btn-default" role="button"><strong style="color:Blue">TMP <i class="fa fa-check"></i></strong><br><i>(<?=$countData?> Data Aktif)</i></a>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/2" class="btn btn-default" role="button"><strong style="color:DarkOrchid">DMT </strong><br><i class="fa fa-search"></i></a>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/4" class="btn btn-default" role="button"><strong style="color:Green">SFTR </strong><br><i class="fa fa-search"></i></a>
|
|
<?php } else if ($id_corp==2) { ?>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/1" class="btn btn-default" role="button"><strong style="color:Blue">TMP </strong><br><i class="fa fa-search"></i></a>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/2" class="btn btn-default" role="button"><strong style="color:DarkOrchid">DMT <i class="fa fa-check"></i></strong><br><i>(<?=$countData?> Data Aktif)</i></a>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/4" class="btn btn-default" role="button"><strong style="color:Green">SFTR </strong><br><i class="fa fa-search"></i></a>
|
|
<?php } else if ($id_corp==4) { ?>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/1" class="btn btn-default" role="button"><strong style="color:Blue">TMP </strong><br><i class="fa fa-search"></i></a>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/2" class="btn btn-default" role="button"><strong style="color:DarkOrchid">DMT </strong><br><i class="fa fa-search"></i></a>
|
|
<a href="<?php echo base_url('') ?>index.php/ManageKeuangan/dataOlahPajak_Keuangan_C1/4" class="btn btn-default" role="button"><strong style="color:Green">SFTR <i class="fa fa-check"></i></strong><br><i>(<?=$countData?> Data Aktif)</i></a>
|
|
<?php } ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br>
|
|
<table class="table table-bordered table-striped mb-none" id="table1">
|
|
<thead>
|
|
<th class="center default">No</th>
|
|
<th class="default">Customer</th>
|
|
<th width="250px" class="default">NTPN - BILLING - SP2D - Tanggal Bayar</th>
|
|
<th width="450px" class="center default">Nota - FP - DPP - Tarif</th>
|
|
<th class="center default">PILIHAN</th>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
if (is_array($keuangan) || is_object($keuangan)) {
|
|
$no = 1;
|
|
foreach ($keuangan as $key) { ?>
|
|
<tr>
|
|
<td class="center"><?= $no; ?></td>
|
|
<td><b style="color:Blue"><?= $key['NPWP_CUSTOMER']; ?></b><br><b style="color:DarkOrchid"><?= $key['NAMA_CUSTOMER']; ?></b><br><i>(<?= $key['ALAMAT_CUSTOMER']; ?>)</i></td>
|
|
<td>
|
|
<?php
|
|
if ($key['NTPN_RPJ']==NULL) { $ntpn = "Kosong"; } else { $ntpn = $key['NTPN_RPJ']; }
|
|
if ($key['BILLING_RPJ']==NULL) { $billing = "Kosong"; } else { $billing = $key['BILLING_RPJ']; }
|
|
if ($key['SP2D_RPJ']==NULL) { $sp2d = "Kosong"; } else { $sp2d = $key['SP2D_RPJ']; }
|
|
?>
|
|
<b style="color:DarkSlateGray">
|
|
1. NPTN : [<b style="color:Teal"><?= $ntpn; ?></b>]<br>
|
|
2. BILLING : [<b style="color:FireBrick"><?= $billing; ?></b>]<br>
|
|
3. SP2D : [<b style="color:DarkOrange"><?= $sp2d; ?></b>]<br>
|
|
4. TGL : [<i><?= $key['TGLRPJ']; ?></i>]
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<?php foreach ($key['DETAIL'] as $dat) { ?>
|
|
<strong class="text-quartenary">[<?= $dat['INV_PENJUALAN']; ?></strong> | <b style="color:Chocolate"><?= $dat['FP_PENJUALAN']; ?></b> | <b style="color:Magenta"><?= $dat['NILAI']; ?></b> | <b style="color:Green"><?= round($dat['PPN_SO'],2); ?>%]</b><br>
|
|
<?php } ?>
|
|
</td>
|
|
<td class="actions center">
|
|
<button type="button" onclick="hapusData('<?= $key['ID_RPJ']; ?>')" class="btn btn-xs btn-danger" data-toggle="modal" data-target="#modal-hapus"><i class="fa fa-times"></i></button>
|
|
</td>
|
|
</tr>
|
|
<?php $no++;
|
|
}
|
|
} ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- end: page -->
|
|
</section>
|
|
|
|
<!-- Modal Hapus -->
|
|
<div id="modal-hapus" class="modal fade" tabindex="-1" role="dialog">
|
|
<div class="modal-dialog">
|
|
<?= form_open('ManageKeuangan/hapusrekap_KABC1', array('id' => 'formkeuangan'), array('method' => 'hapusrekap_KABC1')); ?>
|
|
<div class="modal-content">
|
|
<header class="panel-heading">
|
|
<h2 class="panel-title"><strong>Hapus Data</strong></h2>
|
|
</header>
|
|
<div class="panel-body">
|
|
<div class="modal-wrapper">
|
|
<div class="modal-text">
|
|
<input type="hidden" name="id_rpjdel" id="id_rpjdel" class="form-control">
|
|
<h4><i class="text-danger">Proses Tidak Dapat Dibatalkan.</i><br><br><i style="color:Teal">Apakah ingin menghapus semua Data?</i></h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<footer class="panel-footer">
|
|
<div class="row">
|
|
<div class="col-md-12 text-right">
|
|
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
|
|
<button type="submit" name="SubmitButton" id="SubmitButton" class="btn btn-danger"><strong>Hapus</strong> <i class="fa fa-times"></i></button>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
<?= form_close(); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Modal Bersihkan -->
|
|
<div id="modal-clear" class="modal fade" tabindex="-1" role="dialog">
|
|
<div class="modal-dialog">
|
|
<?= form_open('ManageKeuangan/bersihrekap_KABC1', array('id' => 'formkeuangan'), array('method' => 'bersihrekap_KABC1')); ?>
|
|
<div class="modal-content">
|
|
<header class="panel-heading">
|
|
<h2 class="panel-title"><strong>Bersihkan Data</strong></h2>
|
|
</header>
|
|
<div class="modal-body ">
|
|
|
|
<div class="form-group">
|
|
<input type="hidden" name="jenis_rpj" id="jenis_rpj" value="3" class="form-control">
|
|
<div class="col-md-2">
|
|
<label><strong class="text-danger">Periode</strong></label>
|
|
</div>
|
|
<div class="col-md-10">
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
<input type="date" name="awal_tanggal" id="awal_tanggal" value="<?=$tgl?>" class="form-control" required>
|
|
<span class="input-group-addon"> to </span>
|
|
<input type="date" name="akhir_tanggal" id="akhir_tanggal" value="<?=$tgl?>" class="form-control" required>
|
|
</div>
|
|
<small class="help-block"></small>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-md-2 control-label"><strong>Atas Nama</strong></label>
|
|
<div class="col-md-10">
|
|
<select data-plugin-selectTwo class="form-control populate" name="id_corp" id="ID_CORP">
|
|
<option value="" selected>Semua Data</option>
|
|
<?php if (is_array($corp) || is_object($corp)) {
|
|
foreach ($corp as $key) { ?>
|
|
<option value="<?= $key['ID_CORP'] ?>" ><?= $key['NAMA_CORP'] ?></option>
|
|
<?php }
|
|
} ?>
|
|
</select>
|
|
<small class="help-block"></small>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<footer class="panel-footer">
|
|
<div class="row">
|
|
<div class="col-md-12 text-right">
|
|
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
|
|
<button type="submit" name="SubmitButton" id="SubmitButton" class="btn btn-primary"><strong>Bersihkan</strong> <i class="fa fa-upload"></i></button>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
<?= form_close(); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Modal Kembalikan -->
|
|
<div id="modal-back" class="modal fade" tabindex="-1" role="dialog">
|
|
<div class="modal-dialog">
|
|
<?= form_open('ManageKeuangan/kembalirekap_KABC1', array('id' => 'formkeuangan'), array('method' => 'kembalirekap_KABC1')); ?>
|
|
<div class="modal-content">
|
|
<header class="panel-heading">
|
|
<h2 class="panel-title"><strong>Kembalikan Data</strong></h2>
|
|
</header>
|
|
<div class="modal-body ">
|
|
|
|
<div class="form-group">
|
|
<input type="hidden" name="jenis_rpj" id="jenis_rpj" value="3" class="form-control">
|
|
<div class="col-md-2">
|
|
<label><strong class="text-danger">Periode</strong></label>
|
|
</div>
|
|
<div class="col-md-10">
|
|
<div class="input-group">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
<input type="date" name="awal_tanggal" id="awal_tanggal" value="<?=$tgl?>" class="form-control" required>
|
|
<span class="input-group-addon"> to </span>
|
|
<input type="date" name="akhir_tanggal" id="akhir_tanggal" value="<?=$tgl?>" class="form-control" required>
|
|
</div>
|
|
<small class="help-block"></small>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="col-md-2 control-label"><strong>Atas Nama</strong></label>
|
|
<div class="col-md-10">
|
|
<select data-plugin-selectTwo class="form-control populate" name="id_corp" id="ID_CORP">
|
|
<option value="" selected>Semua Data</option>
|
|
<?php if (is_array($corp) || is_object($corp)) {
|
|
foreach ($corp as $key) { ?>
|
|
<option value="<?= $key['ID_CORP'] ?>" ><?= $key['NAMA_CORP'] ?></option>
|
|
<?php }
|
|
} ?>
|
|
</select>
|
|
<small class="help-block"></small>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<footer class="panel-footer">
|
|
<div class="row">
|
|
<div class="col-md-12 text-right">
|
|
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">Close</button>
|
|
<button type="submit" name="SubmitButton" id="SubmitButton" class="btn btn-warning"><strong>Kembalikan</strong> <i class="fa fa-download"></i></button>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
<?= form_close(); ?>
|
|
</div>
|
|
</div>
|
|
|
|
<?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>
|
|
|
|
<!-- 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/bootstrap-multiselect/bootstrap-multiselect.js"></script>
|
|
<script src="<?php echo base_url('') ?>assets/vendor/jquery-maskedinput/jquery.maskedinput.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/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>
|
|
<!-- 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('data_lock')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data berhasil <?= $this->session->flashdata('data_lock'); ?>. Silahkan Konfirmasi dengan Penerima Barang.',
|
|
type: 'success',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('data_receive')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data berhasil <?= $this->session->flashdata('data_receive'); ?>. Lihat Stok untuk perubahan barang.',
|
|
type: 'success',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('not_zero_negative')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Nilai kurang dari/sama dengan 0.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('twin_item')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Kode Barang sama, silahkan Check kembali.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('retail_item')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Barang non-SN, tidak bisa dipotong part.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('latest')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data mengalami perubahan, check kembali.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('over_qty')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data melebihi jumlah stock, hubungi Team Gudang.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('ppn_check')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Setting PPN tidak sesuai, pastikan data benar.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('input_check')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Tidak ada Data yang terpilih.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('price_check')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Harga belum terisi, silahkan Check kembali.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('data_used')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data sudah terpakai, tidak bisa diproses',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('sn_check')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'SN belum terisi, silahkan Check kembali.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('keluhan_update')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Data berhasil diperbaruhi.',
|
|
type: 'success',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('keluhan_error')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Keluhan belum terisi.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('ntpn_error')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'NTPN sudah digunakan, isi dengan data lain.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('billing_error')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'ID Billing sudah digunakan, isi dengan data lain.',
|
|
type: 'error',
|
|
shadow: true
|
|
});
|
|
<?php } ?>
|
|
|
|
<?php if ($this->session->flashdata('period_date_error')) { ?>
|
|
new PNotify({
|
|
title: 'Notifikasi',
|
|
text: 'Tidak ada data dengan Periode tersebut.',
|
|
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 } ?>
|
|
|
|
});
|
|
|
|
$('#table1').dataTable( {
|
|
"paging": false
|
|
} );
|
|
|
|
$('#table2').dataTable( {
|
|
"paging": false
|
|
} );
|
|
|
|
function hapusData(id_rpj) {
|
|
document.getElementById("id_rpjdel").value = id_rpj;
|
|
}
|
|
|
|
$('#SubmitCetak').click(function() {
|
|
var st = $('#awal_tanggal').val();
|
|
var en = $('#akhir_tanggal').val();
|
|
|
|
if (st != '' && en != '') {
|
|
$('#modal-cetak').modal('toggle');
|
|
}
|
|
});
|
|
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|