Files
shopee-apps/application/views/notused/IN_Sub7_AkuntansiBerjalan_1.php
T
2026-06-13 16:02:07 +10:00

1333 lines
65 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">
<!-- 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;
}
* {
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
$jabatan = $this->session->userdata('jabatan');
$level = $this->session->userdata('level');
$nama_panggilan = $this->session->userdata('nama_panggilan');
$id_karyawan = $this->session->userdata('id_karyawan');
$username = $this->session->userdata('username');
$tgl_now = date('d/m/Y');
if ($jabatan=="ADMINISTRATOR" OR $username=="venny" OR $username=="helda") {
} else {
$jabatan = "DILARANG";
$pak = null;
}
?>
<header class="page-header">
<h2><b>Data Akuntansi Berjalan | <b style="color:Chartreuse">NERACA</b> | <b style="color:Yellow">LABA RUGI</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 -->
<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"><b style="color:DarkGreen">AKUNTANSI BERJALAN <br><element id="progressRotate"><b style="color:Red"><i class="fa fa-refresh fa-spin"></i> <i>Memuat Data<span id="wait">.</span></i></b></element></b> <?php if ($jabatan=="DILARANG") {?> | <b style="color:Red"><i>Tidak Berhak*</i></b><?php } ?></h2>
</header>
<?php if ($jabatan!="DILARANG") { ?>
<div class="panel-body">
<div class="row">
<div class="col-md-12">
<div class="toggle" data-plugin-toggle>
<section class="toggle">
<label class="center"><b>DATA NERACA</b></label>
<div class="toggle-content">
<div class="column">
<h4><b style="color:DarkBlue"><u>AKTIVA LANCAR</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing1">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Kas dan Setara Kas</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al01">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Bank</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al02">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Piutang Dagang</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al03">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Persediaan</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al04">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Piutang Karyawan</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al05">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Piutang Pihakke3</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al06">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Uang Muka Pembelian</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al07">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Pajak Dibayar Dimuka</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al08">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">PPN Lebih Bayar</b></td>
<td class="text-right"><b style="color:DarkBlue" id="al09">0.00</b></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Blue" id="aktivaLancar">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkRed"><u>KEWAJIBAN LANCAR</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing2">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Hutang Dagang</b></td>
<td class="text-right"><b style="color:DarkRed" id="kl01">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Hutang Pajak</b></td>
<td class="text-right"><b style="color:DarkRed" id="kl02">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Hutang Bank</b></td>
<td class="text-right"><b style="color:DarkRed" id="kl03">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Hutang Aktiva</b></td>
<td class="text-right"><b style="color:DarkRed" id="kl04">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Uang Muka Penjualan</b></td>
<td class="text-right"><b style="color:DarkRed" id="kl05">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">PPN Kurang Bayar</b></td>
<td class="text-right"><b style="color:DarkRed" id="kl06">0.00</b></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Red" id="kewajibanLancar">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkBlue"><u>AKTIVA TETAP</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing3">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Total Nilai Sisa Buku Inventaris Kantor</b></td>
<td class="text-right"><b style="color:DarkBlue" id="at01">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Total Nilai Sisa Buku Gedung Bangunan</b></td>
<td class="text-right"><b style="color:DarkBlue" id="at02">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Total Nilai Sisa Buku Kendaraan</b></td>
<td class="text-right"><b style="color:DarkBlue" id="at03">0.00</b></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Blue" id="aktivaTetap">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkRed"><u>MODAL</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing4">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Modal</b></td>
<td class="text-right"><b style="color:DarkRed" id="mo01">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Akumulasi Laba Ditahan</b></td>
<td class="text-right"><b style="color:DarkRed" id="mo02">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Laba Tahun Berjalan</b></td>
<td class="text-right"><b style="color:DarkRed" id="mo03">0.00</b></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Red" id="modalNeraca">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<table class="table table-bordered table-striped mb-none" id="nothing5">
<tbody>
<tr>
<td class="text-right"><h4><b style="color:DarkOrchid">TOTAL AKTIVA</b> <b style="color:Blue" id="totalAktiva">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<table class="table table-bordered table-striped mb-none" id="nothing6">
<tbody>
<tr>
<td class="text-right"><h4><b style="color:DarkOrchid">TOTAL PASIVA</b> <b style="color:Red" id="totalPasiva">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
</div>
</div>
<div class="col-md-12">
<div class="toggle" data-plugin-toggle>
<section class="toggle">
<label class="center"><b>DATA LABA RUGI</b></label>
<div class="toggle-content">
<div class="column">
<h4><b style="color:DarkGreen"><u>TOTAL PENJUALAN</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing7">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Penjualan</b></td>
<td class="text-right"><b style="color:Chocolate" id="tp01">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Retur Penjualan</b></td>
<td class="text-right"><b style="color:Chocolate" id="tp02">0.00</b> <i class="fa fa-minus-circle text-danger"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Potongan / Diskon Penjualan</b></td>
<td class="text-right"><b style="color:Chocolate" id="tp03">0.00</b> <i class="fa fa-minus-circle text-danger"></i></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Green" id="totalPenjualan">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkGreen"><u>HARGA POKOK PENJUALAN</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing8">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Persediaan Awal</b></td>
<td class="text-right"><b style="color:Chocolate" id="hpp01">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Pembelian</b></td>
<td class="text-right"><b style="color:Chocolate" id="hpp02">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Retur Pembelian</b></td>
<td class="text-right"><b style="color:Chocolate" id="hpp03">0.00</b> <i class="fa fa-minus-circle text-danger"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Potongan Pembelian</b></td>
<td class="text-right"><b style="color:Chocolate" id="hpp04">0.00</b> <i class="fa fa-minus-circle text-danger"></i></td>
</tr>
<tr>
<td class="text-right" colspan="2"><b style="color:Black">SUBTOTAL AWAL</b></td>
<td class="text-right"><b style="color:Navy" id="hargaPokokPenjualan1">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Persediaan Akhir</b></td>
<td class="text-right"><b style="color:Chocolate" id="hpp05">0.00</b> <i class="fa fa-minus-circle text-danger"></i></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Green" id="hargaPokokPenjualan2">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="columnall">
<table class="table table-bordered table-striped mb-none" id="nothing9">
<tbody>
<tr>
<td class="text-left"><h4><div class="md-6"><b style="color:DarkOrchid">LABA KOTOR =<br></b><h5><b style="color:DarkGreen">TOTAL PENJUALAN - HARGA POKOK PENJUALAN</b></h5></div><div class="md-6 text-right"><b style="color:DarkOrchid" id="labaKotor">0.00</b></div></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkGreen"><u>BIAYA UMUM DAN ADMINISTRASI (1)</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing10">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Gaji/THR</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua01">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Pajak PPh Pasal 21</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua02">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Incentive</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua03">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya PLN</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua04">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Telepon</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua05">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Internet</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua06">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya PDAM</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua07">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Service Charge Mangga Dua</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua08">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Parkir Karyawan Mangga Dua</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua09">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Pengeluaran ITC</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua10">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Konsultan Pajak</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua11">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya ATK</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua12">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Materai</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua13">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkGreen"><u>BIAYA UMUM DAN ADMINISTRASI (2)</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing11">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Fotocopy</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua14">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Majalah Komputer, Buku, Dll</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua15">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Cetak (Stempel, Kartu Nm, Kertas Kont B55dll)</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua16">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Surat Referensi, Jaminan, dll</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua17">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Kebutuhan Kantor</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua18">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Service Luar</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua19">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Tol</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua20">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Service AC</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua21">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Pajak Kendaraan</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua22">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Sumbangan dll</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua23">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Entertain</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua24">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya BPJS</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua25">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Ass Karyawan & Ass Lainnya</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua26">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkGreen"><u>BIAYA UMUM DAN ADMINISTRASI (3)</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing12">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Traning, Seminar dll</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua27">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Fee</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua28">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Dinas Luar</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua29">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Pajak PPh Psl 25 P Sgg & P Agoes dll</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua30">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Penyusutan</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua31">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Kegiatan Karyawan / Futsal dll</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua32">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Rekreasi Karyawan Kantor</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua33">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Pengeluaran Proyek</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua34">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Bunga Kredit</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua35">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Kredit Bank</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua36">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Perawatan / Perbaikan Gedung</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua37">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Pajak Lainnya</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua38">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Lain Lain</b></td>
<td class="text-right"><b style="color:Chocolate" id="bua39">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Green" id="biayaUmumAdministrasi">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkGreen"><u>BIAYA PENJUALAN</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing13">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Operasional</b></td>
<td class="text-right"><b style="color:Chocolate" id="bp01">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Pengiriman</b></td>
<td class="text-right"><b style="color:Chocolate" id="bp02">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Service Kendaraan</b></td>
<td class="text-right"><b style="color:Chocolate" id="bp03">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Bensin</b></td>
<td class="text-right"><b style="color:Chocolate" id="bp04">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Parkir Umum</b></td>
<td class="text-right"><b style="color:Chocolate" id="bp05">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Sparepart</b></td>
<td class="text-right"><b style="color:Chocolate" id="bp06">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Biaya Kebutuhan Service</b></td>
<td class="text-right"><b style="color:Chocolate" id="bp07">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Green" id="biayaPenjualan">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="columnall">
<table class="table table-bordered table-striped mb-none" id="nothing14">
<tbody>
<tr>
<td class="text-left"><h4><div class="md-6"><b style="color:DarkOrchid">TOTAL BIAYA =<br></b><h5><b style="color:DarkGreen">BIAYA PENJUALAN + BIAYA UMUM DAN ADMINISTRASI</b></h5></div><div class="md-6 text-right"><b style="color:DarkOrchid" id="totalBiaya">0.00</b></div></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="columnall">
<table class="table table-bordered table-striped mb-none" id="nothing15">
<tbody>
<tr>
<td class="text-left"><h4><div class="md-6"><b style="color:DarkOrchid">LABA USAHA =<br><h5>LABA KOTOR - </b><b style="color:DarkGreen">TOTAL BIAYA</b></h5></div><div class="md-6 text-right"><b style="color:DarkOrchid" id="labaUsaha">0.00</b></div></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:DarkGreen"><u>PENDAPATAN DAN (BEBAN) LUAR USAHA</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing16">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Pendapatan Diluar Usaha</b></td>
<td class="text-right"><b style="color:Chocolate" id="plu01">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Pendapatan Jasa Giro</b></td>
<td class="text-right"><b style="color:Chocolate" id="plu02">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="text-right" colspan="2"><b style="color:Black">SUBTOTAL</b></td>
<td class="text-right"><b style="color:Navy" id="pendapatanLuarUsaha1">0.00</b></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Beban Admin Bank</b></td>
<td class="text-right"><b style="color:Chocolate" id="plu03">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Beban Pajak Giro</b></td>
<td class="text-right"><b style="color:Chocolate" id="plu04">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Beban Selisih Nilai</b></td>
<td class="text-right"><b style="color:Chocolate" id="plu05">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Navy" id="pendapatanLuarUsaha2">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<h4><b style="color:Red"><u>PAJAK PENGHASILAN</u></b></h4>
<table class="table table-bordered table-striped mb-none" id="nothing17">
<thead>
<th class="center default">No</th>
<th class="default">Perkiraan</th>
<th class="text-right default">Nilai</th>
</thead>
<tbody>
<?php $no = 1; ?>
<tr>
<td class="center"><?= $no++; ?></td>
<td><b style="color:DarkSlateGray">Pajak Penghasilan</b></td>
<td class="text-right"><b style="color:Chocolate" id="pph01">0.00</b> <i class="fa fa-plus-circle text-primary"></i></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="center">&nbsp;</td>
<td><b style="color:DarkSlateGray"></b></td>
<td class="text-right"></td>
</tr>
<tr>
<td class="text-right" colspan="2"><h5><b style="color:Black">SUBTOTAL</b></h5></td>
<td class="text-right"><h4><b style="color:Green" id="pajakPenghasilan">0.00</b></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<table class="table table-bordered table-striped mb-none" id="nothing18">
<tbody>
<tr>
<td class="text-left"><h4><div class="md-6"><b style="color:DarkOrchid">TOTAL PENDAPATAN DAN (BEBAN) LUAR USAHA =<br></b><h5><b style="color:DarkGreen">TOTAL PENDAPATAN DILUAR USAHA - TOTAL BEBAN DILUAR USAHA</b></h5></div><div class="md-6 text-right"><b style="color:DarkOrchid" id="totalPendapatanLuarUsaha">0.00</b></div></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<table class="table table-bordered table-striped mb-none" id="nothing19">
<tbody>
<tr>
<td class="text-left"><h4><div class="md-6"><b style="color:Red">LABA BERSIH SETELAH PAJAK =<br></b><h5><b style="color:DarkOrchid">LABA BERSIH SEBELUM PAJAK - <b style="color:Red">PAJAK PENGHASILAN</b></b></h5></div><div class="md-6 text-right"><b style="color:Red" id="labaBersihSetelahPajak">0.00</b></div></h4></td>
</tr>
</tbody>
</table>
</div>
<div class="column">
<table class="table table-bordered table-striped mb-none" id="nothing20">
<tbody>
<tr>
<td class="text-left"><h4><div class="md-6"><b style="color:DarkOrchid">LABA BERSIH SEBELUM PAJAK =<br></b><h5><b style="color:DarkOrchid">LABA USAHA + TOTAL PENDAPATAN DAN (BEBAN) LUAR USAHA</b></h5></div><div class="md-6 text-right"><b style="color:DarkOrchid" id="labaBersihSebelumPajak">0.00</b></div></h4></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
</div>
</div>
<div class="col-md-12">
<div class="toggle" data-plugin-toggle>
<section class="toggle">
<label class="center"><b>DATA PERSEDIAAN</b></label>
<div class="toggle-content">
<h4><b style="color:Navy">TOTAL PERSEDIAAN : [<b style="color:ForestGreen" id="totalPersediaan"></b>]</b></h4>
<br>
<table class="table table-bordered table-striped mb-none" id="nothing1">
<thead>
<th class="center default">No</th>
<th class="default">Barang</th>
<th class="center default">Sisa</th>
<th class="text-right default">HPP (Average)</th>
<th class="text-right default">Persediaan</th>
</thead>
<tbody id="isiTabelPersediaan"></tbody>
</table>
</div>
</section>
</div>
</div>
</div>
</div>
<?php } ?>
</section>
<!-- 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>
var dots = window.setInterval( function() {
var wait = document.getElementById("wait");
if (wait.innerHTML.length > 3)
wait.innerHTML = "";
else
wait.innerHTML += ".";
}, 500);
$(document).ready(function() {
var id = "<?=$id_pak?>";
$("#al01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al07").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al08").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al09").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#at01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#at02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#at03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#mo01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#mo02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#mo03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#tp01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#tp02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#tp03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp07").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua07").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua08").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua09").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua10").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua11").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua12").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua13").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua14").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua15").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua16").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua17").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua18").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua19").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua20").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua21").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua22").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua23").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua24").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua25").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua26").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua27").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua28").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua29").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua30").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua31").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua32").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua33").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua34").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua35").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua36").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua37").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua38").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua39").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pph01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#aktivaLancar").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kewajibanLancar").html('<i class="fa fa-refresh fa-spin"></i>');
$("#aktivaTetap").html('<i class="fa fa-refresh fa-spin"></i>');
$("#modalNeraca").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalAktiva").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPasiva").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPenjualan").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hargaPokokPenjualan1").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hargaPokokPenjualan2").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaKotor").html('<i class="fa fa-refresh fa-spin"></i>');
$("#biayaPenjualan").html('<i class="fa fa-refresh fa-spin"></i>');
$("#biayaUmumAdministrasi").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalBiaya").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaUsaha").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pendapatanLuarUsaha1").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pendapatanLuarUsaha2").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pajakPenghasilan").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPendapatanLuarUsaha").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaBersihSebelumPajak").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaBersihSetelahPajak").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPersediaan").html('<i class="fa fa-refresh fa-spin"></i>');
$('#isiTabelPersediaan').html(null);
lihatData(id);
setInterval(function() {
document.getElementById('progressRotate').style.display = 'block';
$("#al01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al07").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al08").html('<i class="fa fa-refresh fa-spin"></i>');
$("#al09").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kl06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#at01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#at02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#at03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#mo01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#mo02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#mo03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#tp01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#tp02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#tp03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hpp05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bp07").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua06").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua07").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua08").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua09").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua10").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua11").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua12").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua13").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua14").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua15").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua16").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua17").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua18").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua19").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua20").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua21").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua22").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua23").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua24").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua25").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua26").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua27").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua28").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua29").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua30").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua31").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua32").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua33").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua34").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua35").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua36").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua37").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua38").html('<i class="fa fa-refresh fa-spin"></i>');
$("#bua39").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu02").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu03").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu04").html('<i class="fa fa-refresh fa-spin"></i>');
$("#plu05").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pph01").html('<i class="fa fa-refresh fa-spin"></i>');
$("#aktivaLancar").html('<i class="fa fa-refresh fa-spin"></i>');
$("#kewajibanLancar").html('<i class="fa fa-refresh fa-spin"></i>');
$("#aktivaTetap").html('<i class="fa fa-refresh fa-spin"></i>');
$("#modalNeraca").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalAktiva").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPasiva").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPenjualan").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hargaPokokPenjualan1").html('<i class="fa fa-refresh fa-spin"></i>');
$("#hargaPokokPenjualan2").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaKotor").html('<i class="fa fa-refresh fa-spin"></i>');
$("#biayaPenjualan").html('<i class="fa fa-refresh fa-spin"></i>');
$("#biayaUmumAdministrasi").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalBiaya").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaUsaha").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pendapatanLuarUsaha1").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pendapatanLuarUsaha2").html('<i class="fa fa-refresh fa-spin"></i>');
$("#pajakPenghasilan").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPendapatanLuarUsaha").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaBersihSebelumPajak").html('<i class="fa fa-refresh fa-spin"></i>');
$("#labaBersihSetelahPajak").html('<i class="fa fa-refresh fa-spin"></i>');
$("#totalPersediaan").html('<i class="fa fa-refresh fa-spin"></i>');
$('#isiTabelPersediaan').html(null);
lihatData(id);
}, 600000);
})
function lihatData(id) {
$.ajax({
url: "<?= base_url() ?>index.php/Menu/IN_Ambil_Sub7_A1_DataAkuntansiBerjalan",
type: "POST",
dataType: "json",
data: {
id_pak: id
},
success: function(response) {
$("#al01").html(response.al01);
$("#al02").html(response.al02);
$("#al03").html(response.al03);
$("#al04").html(response.al04);
$("#al05").html(response.al05);
$("#al06").html(response.al06);
$("#al07").html(response.al07);
$("#al08").html(response.al08);
$("#al09").html(response.al09);
$("#kl01").html(response.kl01);
$("#kl02").html(response.kl02);
$("#kl03").html(response.kl03);
$("#kl04").html(response.kl04);
$("#kl05").html(response.kl05);
$("#kl06").html(response.kl06);
$("#at01").html(response.at01);
$("#at02").html(response.at02);
$("#at03").html(response.at03);
$("#mo01").html(response.mo01);
$("#mo02").html(response.mo02);
$("#mo03").html(response.mo03);
$("#tp01").html(response.tp01);
$("#tp02").html(response.tp02);
$("#tp03").html(response.tp03);
$("#hpp01").html(response.hpp01);
$("#hpp02").html(response.hpp02);
$("#hpp03").html(response.hpp03);
$("#hpp04").html(response.hpp04);
$("#hpp05").html(response.hpp05);
$("#bp01").html(response.bp01);
$("#bp02").html(response.bp02);
$("#bp03").html(response.bp03);
$("#bp04").html(response.bp04);
$("#bp05").html(response.bp05);
$("#bp06").html(response.bp06);
$("#bp07").html(response.bp07);
$("#bua01").html(response.bua01);
$("#bua02").html(response.bua02);
$("#bua03").html(response.bua03);
$("#bua04").html(response.bua04);
$("#bua05").html(response.bua05);
$("#bua06").html(response.bua06);
$("#bua07").html(response.bua07);
$("#bua08").html(response.bua08);
$("#bua09").html(response.bua09);
$("#bua10").html(response.bua10);
$("#bua11").html(response.bua11);
$("#bua12").html(response.bua12);
$("#bua13").html(response.bua13);
$("#bua14").html(response.bua14);
$("#bua15").html(response.bua15);
$("#bua16").html(response.bua16);
$("#bua17").html(response.bua17);
$("#bua18").html(response.bua18);
$("#bua19").html(response.bua19);
$("#bua20").html(response.bua20);
$("#bua21").html(response.bua21);
$("#bua22").html(response.bua22);
$("#bua23").html(response.bua23);
$("#bua24").html(response.bua24);
$("#bua25").html(response.bua25);
$("#bua26").html(response.bua26);
$("#bua27").html(response.bua27);
$("#bua28").html(response.bua28);
$("#bua29").html(response.bua29);
$("#bua30").html(response.bua30);
$("#bua31").html(response.bua31);
$("#bua32").html(response.bua32);
$("#bua33").html(response.bua33);
$("#bua34").html(response.bua34);
$("#bua35").html(response.bua35);
$("#bua36").html(response.bua36);
$("#bua37").html(response.bua37);
$("#bua38").html(response.bua38);
$("#bua39").html(response.bua39);
$("#plu01").html(response.plu01);
$("#plu02").html(response.plu02);
$("#plu03").html(response.plu03);
$("#plu04").html(response.plu04);
$("#plu05").html(response.plu05);
$("#pph01").html(response.pph01);
$("#aktivaLancar").html(response.aktivaLancar);
$("#kewajibanLancar").html(response.kewajibanLancar);
$("#aktivaTetap").html(response.aktivaTetap);
$("#modalNeraca").html(response.modalNeraca);
$("#totalAktiva").html(response.totalAktiva);
$("#totalPasiva").html(response.totalPasiva);
$("#totalPenjualan").html(response.totalPenjualan);
$("#hargaPokokPenjualan1").html(response.hargaPokokPenjualan1);
$("#hargaPokokPenjualan2").html(response.hargaPokokPenjualan2);
$("#labaKotor").html(response.labaKotor);
$("#biayaPenjualan").html(response.biayaPenjualan);
$("#biayaUmumAdministrasi").html(response.biayaUmumAdministrasi);
$("#totalBiaya").html(response.totalBiaya);
$("#labaUsaha").html(response.labaUsaha);
$("#pendapatanLuarUsaha1").html(response.pendapatanLuarUsaha1);
$("#pendapatanLuarUsaha2").html(response.pendapatanLuarUsaha2);
$("#pajakPenghasilan").html(response.pajakPenghasilan);
$("#totalPendapatanLuarUsaha").html(response.totalPendapatanLuarUsaha);
$("#labaBersihSebelumPajak").html(response.labaBersihSebelumPajak);
$("#labaBersihSetelahPajak").html(response.labaBersihSetelahPajak);
$("#totalPersediaan").html(response.al04);
var baris = '';
JUMLAHPER = response.persediaanDetail.length;
for (var i = 1; i <= JUMLAHPER; i++) {
var kode_barang = response.persediaanDetail[i - 1]['KODE_BARANG'];
var nama_barang = response.persediaanDetail[i - 1]['NAMA_BARANG'];
var sisa = response.persediaanDetail[i - 1]['SISA'];
var avg = response.persediaanDetail[i - 1]['AVG'];
var subtotal = response.persediaanDetail[i - 1]['PERSEDIAAN'];
baris += '<tr>';
baris += '<td class="center" style="vertical-align: middle;" >' + i + '</td>';
baris += '<td class="text-left" style="vertical-align: middle;"><b style="color:DarkViolet">' + kode_barang + '</b><br><i>(' + nama_barang + ')</i></td>';
baris += '<td class="center" style="vertical-align: middle;"><b style="color:DarkCyan">' + sisa + '</b></td>';
baris += '<td class="text-right" style="vertical-align: middle;"><b style="color:FireBrick">' + avg + '</b></td>';
baris += '<td class="text-right" style="vertical-align: middle;"><b style="color:Navy">' + subtotal + '</b></td>';
baris += '</tr>';
}
$('#isiTabelPersediaan').html(baris);
$("#totBarang").html(JUMLAHPER);
document.getElementById('progressRotate').style.display = 'none';
}
});
}
</script>
</body>
</html>