146 lines
5.6 KiB
PHP
146 lines
5.6 KiB
PHP
<!doctype html>
|
|
<html class="fixed sidebar-left-collapsed">
|
|
|
|
<head>
|
|
|
|
<!-- Basic -->
|
|
<meta charset="UTF-8">
|
|
|
|
<title>MENU INFORMASI</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/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><b>Rincian Dp Penjualan | <b style="color:Yellow">[<?=$kode_akuntansi?>]</b> | <b style="color:Chartreuse"><?=$tanggal?></b></b></h2>
|
|
|
|
<div class="right-wrapper pull-right">
|
|
<ol class="breadcrumbs">
|
|
<li><span><strong style="color:Gold">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="col-md-12">
|
|
<section class="panel panel-featured panel-featured-success">
|
|
<header class="panel-heading">
|
|
<div class="panel-actions">
|
|
<a onclick="closeTab()" class="text-dark"><strong>Tutup Tab </strong><i class="fa fa-times"></i></a>
|
|
</div>
|
|
<h2 class="panel-title" style="color:DarkGreen"><b>DATA RINCIAN</b></h2>
|
|
</header>
|
|
<div class="panel-body">
|
|
<table class="table table-bordered table-striped mb-none" id="datatable-default">
|
|
<thead>
|
|
<th class="center default">No</th>
|
|
<th class="default">Kode Bukti</th>
|
|
<th class="default">Transaksi</th>
|
|
<th class="text-right default">Debet</th>
|
|
<th class="text-right default">Kredit</th>
|
|
<th class="text-right default">Saldo</th>
|
|
<th class="default">Keterangan</th>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
if (is_array($informasi) || is_object($informasi)) {
|
|
$no = 1;
|
|
$saldo_hda = 0;
|
|
foreach ($informasi as $key) { ?>
|
|
<tr>
|
|
<td class="center"><?= $no; ?></td>
|
|
<td><b style="color:DarkSlateGray"><?= $key['KODE_AKUNTANSI']; ?> <b style="color:DarkOrchid">[<?= $key['NAMA_PANGGILAN_KARYAWAN']; ?>]</b></b><br><i>(<?= $key['TIMESTAMP']; ?>)</i></td>
|
|
<?php if (strpos($key['KODE_AKUNTANSI'],"JM")!==FALSE) { ?>
|
|
<td style="color:Navy"><strong>JurnalMemo</strong></td>
|
|
<?php } else if (strpos($key['KODE_AKUNTANSI'],"JS")!==FALSE) { ?>
|
|
<td style="color:DarkOrange"><strong>JurnalSistem</strong></td>
|
|
<?php } else { ?>
|
|
<td style="color:Chocolate"><strong>Kas/Bank</strong></td>
|
|
<?php } ?>
|
|
<td class="text-right" style="color:Blue"><strong><?php echo number_format($key['DEBET_DAK'],2); ?></strong></td>
|
|
<td class="text-right" style="color:Red"><strong><?php echo number_format($key['KREDIT_DAK'],2); ?></strong></td>
|
|
<?php $saldo_hda = $saldo_hda+$key['KREDIT_DAK']-$key['DEBET_DAK']; ?>
|
|
<td class="text-right" style="color:DarkGreen"><strong><?php echo number_format($saldo_hda,2); ?></strong></td>
|
|
<td><?= $key['KET_DAK']; ?></td>
|
|
</tr>
|
|
<?php $no++;
|
|
}
|
|
} ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<!-- end: page -->
|
|
</section>
|
|
|
|
<?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 closeTab() {
|
|
window.close();
|
|
}
|
|
|
|
$('#datatable-default').dataTable( {
|
|
"paging": false
|
|
} );
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|