copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,272 @@
|
||||
<!doctype html>
|
||||
<html class="fixed sidebar-left-collapsed">
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Basic -->
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title>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" />
|
||||
<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-left-style: solid;
|
||||
border-width: 5px;
|
||||
border-color: darkcyan;
|
||||
}
|
||||
|
||||
.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');
|
||||
$nama_panggilan = $this->session->userdata('nama_panggilan');
|
||||
$username = $this->session->userdata('username');
|
||||
$tgl_now = date('d/m/Y');
|
||||
?>
|
||||
|
||||
<header class="page-header">
|
||||
<h2><b>Data Analisa Rincian Hutang Dagang | <b style="color:LightGreen">[<?=$tampil?>]</b></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/Menu/KU_Sub4_Laporan_1" class="text-dark"><b>Kembali </b><i class="fa fa-backward"></i></a>
|
||||
</div>
|
||||
<h2 class="panel-title"><b style="color:Olive">RINCIAN HUTANG DAGANG</b></h2>
|
||||
</header>
|
||||
<div class="panel-body">
|
||||
<?php if ($hak>1) { ?>
|
||||
<?= form_open('Menu/KU_Excel_Sub4_DataAnalisaRincianHutangDagang', array('method' => 'post'), array('id' => 'formkeuangan')); ?>
|
||||
<div class="form-group">
|
||||
<h4><div class="col-md-2"><b style="color:SlateBlue">Supplier</b></div></h4>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<select data-plugin-selectTwo id="id_supplier" class="form-control populate">
|
||||
<option value="" selected>Semua Supplier</option>
|
||||
<?php if (is_array($supplier) || is_object($supplier)) {
|
||||
foreach ($supplier as $key) { ?>
|
||||
<option value="<?= $key['ID_SUPPLIER'] ?>" ><?= $key['NAMA_SUPPLIER'] ?></option>
|
||||
<?php }
|
||||
} ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<h4><div class="col-md-2"><b style="color:SlateBlue">Kop</b></div></h4>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<select data-plugin-selectTwo id="id_corp" class="form-control populate">
|
||||
<option value="" selected>Semua Kop</option>
|
||||
<?php if (is_array($corp) || is_object($corp)) {
|
||||
foreach ($corp as $key) { ?>
|
||||
<option value="<?= $key['ID_KOP'] ?>" ><?= $key['NAMA_KOP'] ?></option>
|
||||
<?php }
|
||||
} ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<h4><div class="col-md-2"><b style="color:SlateBlue">Transaksi</b></div></h4>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<select data-plugin-selectTwo id="transaksi" class="form-control populate">
|
||||
<option value="0" selected>BELUM LUNAS</option>
|
||||
<option value="1">SUDAH LUNAS</option>
|
||||
<option value="2">CAMPUR</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<h4><div class="col-md-2"><b style="color:SlateBlue">Periode Nota</b></div></h4>
|
||||
<div class="col-md-4">
|
||||
<div class="input-daterange input-group">
|
||||
<input type="date" class="form-control" id="awal_nota" onfocusout="cekTanggal(value, 3)" value="<?=$tgl?>" required>
|
||||
<span class="input-group-addon">to</span>
|
||||
<input type="date" class="form-control" id="akhir_nota" onfocusout="cekTanggal(value, 4)" value="<?=$tgl?>" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<h4><div class="col-md-2"><b style="color:SlateBlue">Jatuh Tempo</b></div></h4>
|
||||
<div class="col-md-4">
|
||||
<div class="input-daterange input-group">
|
||||
<input type="date" class="form-control" id="awal_jt" onfocusout="cekTanggal(value, 1)" value="<?=$tgl?>" required>
|
||||
<span class="input-group-addon">to</span>
|
||||
<input type="date" class="form-control" id="akhir_jt" onfocusout="cekTanggal(value, 2)" value="<?=$tgl?>" required>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<h4><div class="col-md-2"><b style="color:SlateBlue">Menu</b></div></h4>
|
||||
<div class="col-md-10 btn-group">
|
||||
<input type="hidden" class="form-control" id="id_supplierfill" name="id_supplierfill">
|
||||
<input type="hidden" class="form-control" id="id_corpfill" name="id_corpfill">
|
||||
<input type="hidden" class="form-control" id="transaksi_fill" name="transaksi_fill">
|
||||
<input type="hidden" class="form-control" id="awal_jtfill" name="awal_jtfill">
|
||||
<input type="hidden" class="form-control" id="akhir_jtfill" name="akhir_jtfill">
|
||||
<input type="hidden" class="form-control" id="awal_notafill" name="awal_notafill">
|
||||
<input type="hidden" class="form-control" id="akhir_notafill" name="akhir_notafill">
|
||||
<?php if ($hak>1) { ?>
|
||||
<button type="submit" class="btn btn-default" onclick="isiData()" target="_blank"><b style="color:DarkGreen">Excel <i class="fa fa-file-excel-o"></i></b></button>
|
||||
<button type="button" class="btn btn-default" onclick="reloadData()"><b style="color:FireBrick">Reset <i class="fa fa-rotate-left"></i></b></button>
|
||||
<?php } else { ?>
|
||||
<button type="button" class="btn btn-default"><b style="color:Red">Tidak Berhak <i class="fa fa-times"></i></b></button>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<?= form_close(); ?>
|
||||
<?php } ?>
|
||||
</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/OPERATOR</b><br><b> Bisa melihat semua Data terkait</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>
|
||||
|
||||
<?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 cekTanggal(value, id) {
|
||||
PNotify.removeAll();
|
||||
var now = "<?=$tgl?>";
|
||||
|
||||
if (value=="") {
|
||||
notify("date_empty");
|
||||
if (id==1) {
|
||||
document.getElementById("awal_jt").value = now;
|
||||
} else if (id==2) {
|
||||
document.getElementById("akhir_jt").value = now;
|
||||
} else if (id==3) {
|
||||
document.getElementById("awal_nota").value = now;
|
||||
} else if (id==4) {
|
||||
document.getElementById("akhir_nota").value = now;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function reloadData() {
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function isiData() {
|
||||
document.getElementById('id_supplierfill').value = document.getElementById('id_supplier').value;
|
||||
document.getElementById('id_corpfill').value = document.getElementById('id_corp').value;
|
||||
document.getElementById('transaksi_fill').value = document.getElementById('transaksi').value;
|
||||
document.getElementById('awal_jtfill').value = document.getElementById('awal_jt').value;
|
||||
document.getElementById('akhir_jtfill').value = document.getElementById('akhir_jt').value;
|
||||
document.getElementById('awal_notafill').value = document.getElementById('awal_nota').value;
|
||||
document.getElementById('akhir_notafill').value = document.getElementById('akhir_nota').value;
|
||||
}
|
||||
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user