copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,277 @@
|
||||
<!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;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Create a two-column layout */
|
||||
.column {
|
||||
float: left;
|
||||
width: 50%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Create a one-column layout */
|
||||
.columnall {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Create a one-column layout */
|
||||
.column3 {
|
||||
float: left;
|
||||
width: 33%;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
/* Clearfix (clear floats) */
|
||||
.row::after {
|
||||
content: "";
|
||||
clear: both;
|
||||
display: table;
|
||||
}
|
||||
|
||||
</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 Persediaan Berjalan | </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:Olive">PERSEDIAAN BERJALAN | <b style="color:DarkOrchid"><?=$timestamp?></b> | <b style="color:Red"><?=$totalSemua?></b></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 class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" <?php if ($hak>2) { ?>href="#collapseOne"<?php } ?>>
|
||||
<b class="f18" style="color:Green"><b style="color:Black">[1]</b> PERSEDIAAN BARANG SN<?php if ($hak<=2) { ?> <i class="fa fa-ban text-danger"></i></b><?php } else { ?> | <b style="color:DarkRed"><?=$totalSn?></b></b><?php } ?>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="collapseOne" class="accordion-body collapse">
|
||||
<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="text-right">Persediaan</th>
|
||||
<th class="center default">TMP</th>
|
||||
<th class="center default">DMT</th>
|
||||
<th class="center default">PCM</th>
|
||||
<th class="center default">SFTR</th>
|
||||
<th class="center default">ITP</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($sn) || is_object($sn)) {
|
||||
$no = 1;
|
||||
foreach ($sn as $key) { ?>
|
||||
<tr>
|
||||
<td class="center"><?= $no; ?></td>
|
||||
<td><b style="color:Black"><?= $key['KODE_BARANG']; ?></b><br><i>(<?= $key['NAMA_BARANG']; ?>)</i></td>
|
||||
<td class="text-right"><b style="color:DarkGreen"><?= $key['PERSEDIAAN_HQ'] ?></b><br><b style="color:Chocolate">[<?= $key['GLOBAL_KUANTITI']; ?>]</b></td>
|
||||
<td class="center"><b style="color:Tomato"><?= $key['TMP']; ?></b></td>
|
||||
<td class="center"><b style="color:SaddleBrown"><?= $key['DMT']; ?></b></td>
|
||||
<td class="center"><b style="color:Teal"><?= $key['PCM']; ?></b></td>
|
||||
<td class="center"><b style="color:DarkBlue"><?= $key['SFT']; ?></b></td>
|
||||
<td class="center"><b style="color:Tan"><?= $key['ITP']; ?></b></td>
|
||||
</tr>
|
||||
<?php $no++;
|
||||
}
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-accordion">
|
||||
<header class="panel-heading">
|
||||
<h2 class="panel-title">
|
||||
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" <?php if ($hak>2) { ?>href="#collapseTwo"<?php } ?>>
|
||||
<b class="f18" style="color:Green"><b style="color:Black">[2]</b> PERSEDIAAN NON-SN<?php if ($hak<=2) { ?> <i class="fa fa-ban text-danger"></i></b><?php } else { ?> | <b style="color:DarkRed"><?=$totalNonSn?></b></b><?php } ?>
|
||||
</a>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="collapseTwo" class="accordion-body collapse">
|
||||
<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="center default">Kuantiti</th>
|
||||
<th class="text-right">Persediaan</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
if (is_array($nonSn) || is_object($nonSn)) {
|
||||
$no = 1;
|
||||
foreach ($nonSn as $key) { ?>
|
||||
<tr>
|
||||
<td class="center"><?= $no; ?></td>
|
||||
<td><b style="color:Black"><?= $key['KODE_BARANG']; ?></b><br><i>(<?= $key['NAMA_BARANG']; ?>)</i></td>
|
||||
<td class="center"><b style="color:DarkGreen"><?= $key['GLOBAL_KUANTITI']; ?></b></td>
|
||||
<td class="text-right"><b style="color:Chocolate"><?= $key['PERSEDIAAN_HQ'] ?></b></td>
|
||||
</tr>
|
||||
<?php $no++;
|
||||
}
|
||||
} ?>
|
||||
</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> Akses Data Persediaan</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>
|
||||
$('#table1').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
|
||||
$('#table2').dataTable( {
|
||||
"paging": false
|
||||
} );
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user