Browse Source

Modified new dashboard view

main^2
dfoso 1 year ago committed by =
parent
commit
39ceb28743
  1. 6
      app/Config/Boot/production.php
  2. 54
      app/Controllers/Auth.php
  3. 33
      app/Controllers/Home.php
  4. 48
      app/Models/Mpemby.php
  5. 4
      app/Views/inc/navbar.php
  6. 448
      app/Views/ppm/dashboard.php
  7. 143
      env
  8. 1
      writable/debugbar/debugbar_1708677593.148974.json
  9. 1
      writable/debugbar/debugbar_1708678607.741024.json
  10. 1
      writable/debugbar/debugbar_1708678663.784881.json
  11. 1
      writable/debugbar/debugbar_1708678666.842249.json
  12. 1
      writable/debugbar/debugbar_1708678666.884928.json
  13. 1
      writable/debugbar/debugbar_1708678728.740374.json
  14. 1
      writable/debugbar/debugbar_1708679888.486441.json
  15. 1
      writable/debugbar/debugbar_1708679910.185401.json
  16. 1
      writable/debugbar/debugbar_1708679911.556901.json
  17. 1
      writable/debugbar/debugbar_1708679916.629065.json
  18. 1
      writable/debugbar/debugbar_1708679916.695006.json
  19. 1
      writable/debugbar/debugbar_1708911901.146370.json
  20. 1
      writable/debugbar/debugbar_1708911915.560790.json
  21. 1
      writable/debugbar/debugbar_1708911943.016911.json
  22. 1
      writable/debugbar/debugbar_1708911943.082908.json
  23. 1
      writable/debugbar/debugbar_1708912778.707011.json
  24. 1
      writable/debugbar/debugbar_1708912780.614422.json
  25. 1
      writable/debugbar/debugbar_1708912782.410480.json
  26. 1
      writable/debugbar/debugbar_1708912783.316158.json
  27. 1
      writable/debugbar/debugbar_1708912784.249775.json
  28. 1
      writable/debugbar/debugbar_1708912800.432209.json
  29. 1
      writable/debugbar/debugbar_1708912803.407515.json
  30. 1
      writable/debugbar/debugbar_1708912805.131303.json
  31. 1
      writable/debugbar/debugbar_1708912806.713457.json
  32. 1
      writable/debugbar/debugbar_1708912808.876246.json
  33. 1
      writable/debugbar/debugbar_1708912812.681890.json
  34. 1
      writable/debugbar/debugbar_1708913123.312423.json
  35. 1
      writable/debugbar/debugbar_1708913131.390697.json
  36. 1
      writable/debugbar/debugbar_1708913172.929839.json
  37. 2
      writable/session/ci_sessions1v1s52iosf0r4e4g2gpfkpkbe4h9h9o

6
app/Config/Boot/production.php

@ -9,9 +9,9 @@
|
| If you set 'display_errors' to '1', CI4's detailed error report will show.
*/
ini_set('display_errors', '1');
ini_set('display_errors', '0');
error_reporting(E_ALL);
defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
//defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
/*
|--------------------------------------------------------------------------
@ -21,4 +21,4 @@ defined('SHOW_DEBUG_BACKTRACE') || define('SHOW_DEBUG_BACKTRACE', true);
| the system. It's not widely used currently, and may not survive
| release of the framework.
*/
defined('CI_DEBUG') || define('CI_DEBUG', true);
defined('CI_DEBUG') || define('CI_DEBUG', false);

54
app/Controllers/Auth.php

@ -0,0 +1,54 @@
<?php
namespace App\Controllers;
use CodeIgniter\Controller;
use App\Models\Mauth;
class Auth extends Controller
{
public function index()
{
helper(['form']);
echo view('pages/loginv');
}
public function login()
{
$session = session();
$model = new Mauth();
$uname = $this->request->getVar('username');
$password = $this->request->getVar('password');
$param = array('name' => $uname, 'passwd' => $password);
$data = $model->cekuser($param)->getRowArray();
// var_dump($data);
//exit();
if ($data) {
$ses_data = [
'nip' => $data['NIP9'],
'nipp' => $data['NIP18'],
'nama' => $data['NAMA'],
'kppadm' => $data['KPPADM'],
'jabatan' => $data['NAMA_JABATAN'],
'kantor' => $data['NAMA_KANTOR'],
'seksi' => $data['NAMA_UNIT_ES3'],
'isLogin' => true
];
$session->set($ses_data);
return redirect()->to(base_url('Home'));
} else {
//print_r('user tidak ada');
//exit;
$session->setFlashdata('msg', 'User Tidak ada');
return redirect()->to('auth');
}
}
public function logout()
{
$session = session();
$session->destroy();
return redirect()->to(base_url('auth'));
}
}

33
app/Controllers/Home.php

@ -2,15 +2,36 @@
namespace App\Controllers;
use App\Models\Mpemby;
class Home extends BaseController
{
public function index()
{
echo view('inc/head');
echo view('inc/navbar');
echo view('inc/sidebar');
echo view('ppm/dashboard');
echo view('inc/footer');
echo view('inc/js');
if (session('isLogin')) {
$model = new Mpemby();
$ptahun = $this->request->getPost('tahun');
if (empty($ptahun)) {
$tahun = date('Y');
} else {
$tahun = $ptahun;
}
$param = array('tahun' => $tahun);
$p['tahunx'] = $tahun;
$p['penerimaan'] = $model->getPenn($param)->getResult();
$p['updatex'] = $model->getUpd()->getFirstRow('array');
$p['perkategori'] = $model->getKat($param)->getResult();
echo view('inc/head');
echo view('inc/navbar');
echo view('inc/sidebar');
echo view('ppm/dashboard', $p);
echo view('inc/footer');
echo view('inc/js');
} else {
return redirect()->to('auth');
}
}
}

48
app/Models/Mpemby.php

@ -0,0 +1,48 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class Mpemby extends Model
{
function getPenn($param)
{
$tahun = $param['tahun'];
$bln = date('m');
$query = $this->db->query("SELECT NM_KANWIL, TARGET, SUM(PENERIMAAN_BERJALAN) PENB, SUM(PENERIMAAN_LALU) PENL,
(SUM(PENERIMAAN_BERJALAN)/TARGET)*100 PENCAPAIAN, ((SUM(PENERIMAAN_BERJALAN)-SUM(PENERIMAAN_LALU))/SUM(PENERIMAAN_LALU))*100 PERTUMBUHAN
FROM KINERJA_PENERIMAAN
WHERE THN_KINERJA = '" . $tahun . "' AND TO_NUMBER(BLN_KINERJA)
BETWEEN TO_NUMBER('01') AND TO_NUMBER('" . $bln . "') GROUP BY NM_KANWIL, TARGET");
return $query;
}
function getUpd()
{
$query = $this->db->query("SELECT LAST_DDL_TIME UPD
FROM DBA_OBJECTS
WHERE owner = 'GENAPP'
AND object_name = 'KINERJA_PENERIMAAN'");
return $query;
}
function getKat($param)
{
$tahun = $param['tahun'];
$tahunl = $tahun - 1;
$bln = date('m');
$query = $this->db->query("SELECT CASE WHEN KD_KATEGORI IS NULL THEN '-' ELSE KD_KATEGORI END KODE,
CASE WHEN KD_KATEGORI IS NULL THEN 'UNKNOWN' ELSE NM_KATEGORI END NMKAT,
SUM(CASE WHEN THNBYR = '" . $tahun . "' AND BLNBYR = '" . $bln . "' THEN ROUND(TOTAL) ELSE 0 END) KPENN,
SUM(CASE WHEN THNBYR = '" . $tahunl . "' AND BLNBYR = '" . $bln . "' THEN ROUND(TOTAL) ELSE 0 END) KPENP
FROM PERKATEGORI_MV
GROUP BY KD_KATEGORI,NM_KATEGORI
ORDER BY KD_KATEGORI ASC
");
return $query;
}
}

4
app/Views/inc/navbar.php

@ -16,10 +16,10 @@
<div class="dropdown">
<a class="dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="avatar" src="<?= base_url('public/theme/img/user.jpg') ?>" alt=""></a>
<a class="dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="avatar" src="https://account.kemenkeu.go.id/manage/Uploads/Thumbnails/<?= session('nipp') ?>.jpg" alt=""></a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown">
<a class="dropdown-item" href="profile.html"><i class="ik ik-user dropdown-icon"></i> Profile</a>
<a class="dropdown-item" href="login.html"><i class="ik ik-power dropdown-icon"></i> Logout</a>
<a class="dropdown-item" href="<?php echo base_url() ?>Auth/logout"><i class="ik ik-power dropdown-icon"></i> Logout</a>
</div>
</div>

448
app/Views/ppm/dashboard.php

@ -1,3 +1,22 @@
<?php
$tgt = 0;
$pennow = 0;
$penpast = 0;
foreach ($penerimaan as $row) {
$tgt += $row->TARGET;
$pennow += $row->PENB;
$penpast += $row->PENL;
$capaian = ($pennow / $tgt) * 100;
$growth = (($pennow - $penpast) / $penpast) * 100;
$selisih = $penpast - $pennow;
$carryover = $tgt - $pennow;
}
?>
<div class="main-content">
<div class="container-fluid">
<div class="row clearfix">
@ -6,17 +25,17 @@
<div class="widget-body">
<div class="d-flex justify-content-between align-items-center">
<div class="state">
<h6>Bookmarks</h6>
<h2>1,410</h2>
<h6>Target Nas</h6>
<h6><b><?= number_format($tgt, 0, ',', '.') ?></b></h6>
</div>
<div class="icon">
<i class="ik ik-award"></i>
</div>
</div>
<small class="text-small mt-10 d-block">6% higher than last month</small>
<small class="text-small mt-10 d-block">Capaian <?= number_format($capaian, 2) ?>%</small>
</div>
<div class="progress progress-sm">
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="62" aria-valuemin="0" aria-valuemax="100" style="width: 62%;"></div>
<div class="progress-bar bg-danger" role="progressbar" aria-valuenow="<?= number_format($capaian, 2) ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?= number_format($capaian, 2) ?>%;"></div>
</div>
</div>
</div>
@ -25,17 +44,17 @@
<div class="widget-body">
<div class="d-flex justify-content-between align-items-center">
<div class="state">
<h6>Likes</h6>
<h2>41,410</h2>
<h6>Penerimaan sd <?= $tahunx ?></h6>
<h6><b><?= number_format($pennow, 0, ',', '.') ?></b></h6>
</div>
<div class="icon">
<i class="ik ik-thumbs-up"></i>
</div>
</div>
<small class="text-small mt-10 d-block">61% higher than last month</small>
<small class="text-small mt-10 d-block">Growth <?= number_format($growth, 2) ?>%</small>
</div>
<div class="progress progress-sm">
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="78" aria-valuemin="0" aria-valuemax="100" style="width: 78%;"></div>
<div class="progress-bar bg-success" role="progressbar" aria-valuenow="<?= number_format($growth, 2) ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?= number_format($growth, 2) ?>%;"></div>
</div>
</div>
</div>
@ -44,14 +63,14 @@
<div class="widget-body">
<div class="d-flex justify-content-between align-items-center">
<div class="state">
<h6>Events</h6>
<h2>410</h2>
<h6>Penerimaan <?= $tahunx - 1 ?></h6>
<h6><b><?= number_format($penpast, 0, ',', '.') ?></b></h6>
</div>
<div class="icon">
<i class="ik ik-calendar"></i>
</div>
</div>
<small class="text-small mt-10 d-block">Total Events</small>
<small class="text-small mt-10 d-block">Selisih <?= number_format($selisih, 0, ',', '.') ?></small>
</div>
<div class="progress progress-sm">
<div class="progress-bar bg-warning" role="progressbar" aria-valuenow="31" aria-valuemin="0" aria-valuemax="100" style="width: 31%;"></div>
@ -63,17 +82,17 @@
<div class="widget-body">
<div class="d-flex justify-content-between align-items-center">
<div class="state">
<h6>Comments</h6>
<h2>41,410</h2>
<h6>Carry Over</h6>
<h6><b><?= number_format($carryover, 0, ',', '.') ?></b></h6>
</div>
<div class="icon">
<i class="ik ik-message-square"></i>
</div>
</div>
<small class="text-small mt-10 d-block">Total Comments</small>
<small class="text-small mt-10 d-block">update <?= $updatex['UPD'] ?></small>
</div>
<div class="progress progress-sm">
<div class="progress-bar bg-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 20%;"></div>
<div class="progress-bar bg-info" role="progressbar" aria-valuenow="<?= date('n') ?>" aria-valuemin="0" aria-valuemax="12" style="width: <?= date('n') ?>%;"></div>
</div>
</div>
</div>
@ -84,54 +103,137 @@
<div class="card-body">
<div class="row align-items-center">
<div class="col-lg-8 col-md-12">
<h3 class="card-title">Visitors By Countries</h3>
<div id="visitfromworld" style="width:100%; height:350px"></div>
<h3 class="card-title">Breakdown Penerimaan</h3>
</div>
<div class="col-lg-4 col-md-12">
<div class="col-lg-6 col-md-12">
<div class="col text-center"><b>Strategis</b></div>
<div class="row mb-15">
<div class="col-9">India</div>
<div class="col-9">Penerimaan</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar bg-green" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar-striped progress-bar-animated bg-green" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9"> UK</div>
<div class="col-3 text-right">21%</div>
<div class="col-9">Growth</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar bg-aqua" role="progressbar" style="width: 33%" aria-valuenow="33" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar-striped progress-bar-animated bg-green" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9"> USA</div>
<div class="col-3 text-right">18%</div>
<div class="col-9">Peranan</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar bg-purple" role="progressbar" style="width: 40%" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar-striped progress-bar-animated bg-green" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-9">China</div>
<div class="col-3 text-right">12%</div>
<div class="row mb-15">
<div class="col-9">Jumlah WP</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar bg-danger" role="progressbar" style="width: 15%" aria-valuenow="15" aria-valuemin="0" aria-valuemax="100"></div>
<div class="progress-bar-striped progress-bar-animated bg-green" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9">WP Bayar</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-green" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9">Ratio(%)</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-green" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
</div>
<div class=" col-lg-6 col-md-12">
<div class="col text-center"><b>Kewilayahan</b></div>
<div class="row mb-15">
<div class="col-9">Penerimaan</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-primary " role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9">Growth</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-primary" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9">Peranan</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-primary" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9">Jumlah WP</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-primary" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9">WP Bayar</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-primary" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="row mb-15">
<div class="col-9">Ratio(%)</div>
<div class="col-3 text-right">28%</div>
<div class="col-12">
<div class="progress progress-sm mt-5">
<div class="progress-bar-striped progress-bar-animated bg-primary" role="progressbar" style="width: 48%" aria-valuenow="48" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="min-height: 422px;">
<div class="card-header"><h3>Donut chart</h3></div>
<div class="card-header">
<h3>Per Jenis Pajak</h3>
</div>
<div class="card-body">
<div id="c3-donut-chart"></div>
</div>
@ -214,7 +316,8 @@
<div class="d-flex align-items-center flex-row mt-30">
<div class="p-2 f-50 text-info"><i class="wi wi-day-showers"></i> <span>23<sup>°</sup></span></div>
<div class="p-2">
<h3 class="mb-0">Saturday</h3><small>Banglore, India</small></div>
<h3 class="mb-0">Saturday</h3><small>Banglore, India</small>
</div>
</div>
<table class="table table-borderless">
<tbody>
@ -234,9 +337,15 @@
</table>
<hr>
<ul class="list-unstyled row text-center city-weather-days mb-0 mt-20">
<li class="col"><i class="wi wi-day-sunny mr-5"></i><span>09:30</span><h3>20<sup>°</sup></h3></li>
<li class="col"><i class="wi wi-day-cloudy mr-5"></i><span>11:30</span><h3>22<sup>°</sup></h3></li>
<li class="col"><i class="wi wi-day-hail mr-5"></i><span>13:30</span><h3>25<sup>°</sup></h3></li>
<li class="col"><i class="wi wi-day-sunny mr-5"></i><span>09:30</span>
<h3>20<sup>°</sup></h3>
</li>
<li class="col"><i class="wi wi-day-cloudy mr-5"></i><span>11:30</span>
<h3>22<sup>°</sup></h3>
</li>
<li class="col"><i class="wi wi-day-hail mr-5"></i><span>13:30</span>
<h3>25<sup>°</sup></h3>
</li>
</ul>
</div>
</div>
@ -261,7 +370,7 @@
<div class="day-name">Monday</div>
<div class="month">February 2018</div>
</div>
</div>
</div>
</div>
<ul>
<li>
@ -295,7 +404,7 @@
</div>
<div class="card">
<!-- <div class="card">
<div class="card-header row">
<div class="col col-sm-3">
<div class="dropdown d-inline-block">
@ -344,7 +453,7 @@
</div>
</div>
</div>
<div class="card-body p-0">
<div class="card-body p-0">
<div class="list-item-wrap">
<div class="list-item">
<div class="item-inner">
@ -409,231 +518,32 @@
</div>
</div>
</div>
</div>
</div> -->
<div class="card">
<div class="card-header row">
<div class="col col-sm-3">
<div class="card-options d-inline-block">
<a href="#"><i class="ik ik-inbox"></i></a>
<a href="#"><i class="ik ik-plus"></i></a>
<a href="#"><i class="ik ik-rotate-cw"></i></a>
<div class="dropdown d-inline-block">
<a class="nav-link dropdown-toggle" href="#" id="moreDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="ik ik-more-horizontal"></i></a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="moreDropdown">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">More Action</a>
</div>
</div>
</div>
</div>
<div class="col col-sm-6">
<div class="card-search with-adv-search dropdown">
<form action="">
<input type="text" class="form-control global_filter" id="global_filter" placeholder="Search.." required>
<button type="submit" class="btn btn-icon"><i class="ik ik-search"></i></button>
<button type="button" id="adv_wrap_toggler" class="adv-btn ik ik-chevron-down dropdown-toggle" data-toggle="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
<div class="adv-search-wrap dropdown-menu dropdown-menu-right" aria-labelledby="adv_wrap_toggler">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<input type="text" class="form-control column_filter" id="col0_filter" placeholder="Name" data-column="0">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control column_filter" id="col1_filter" placeholder="Position" data-column="1">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<input type="text" class="form-control column_filter" id="col2_filter" placeholder="Office" data-column="2">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<input type="text" class="form-control column_filter" id="col3_filter" placeholder="Age" data-column="3">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<input type="text" class="form-control column_filter" id="col4_filter" placeholder="Start date" data-column="4">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<input type="text" class="form-control column_filter" id="col5_filter" placeholder="Salary" data-column="5">
</div>
</div>
</div>
<button class="btn btn-theme">Search</button>
</div>
</form>
</div>
</div>
<div class="col col-sm-3">
<div class="card-options text-right">
<span class="mr-5" id="top">1 - 50 of 2,500</span>
<a href="#"><i class="ik ik-chevron-left"></i></a>
<a href="#"><i class="ik ik-chevron-right"></i></a>
</div>
</div>
</div>
<div class="card-body">
<table id="advanced_table" class="table">
<thead>
<tr>
<th class="nosort" width="10">
<label class="custom-control custom-checkbox m-0">
<input type="checkbox" class="custom-control-input" id="selectall" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</th>
<th class="nosort">Avatar</th>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
<h5 class="card-title">PENERIMAAN PER KATEGORI</h5>
<table class="table table-hover">
<thead class='thead-dark'>
<tr class="table-active">
<th class="text-center">Kode</th>
<th class="text-center">Kategori</th>
<th class="text-center">Penerimaan <?= $tahunx ?></th>
<th class="text-center">Penerimaan <?= $tahunx - 1 ?></th>
<th class="text-center">Growth (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="<?= base_url('public/theme/img/users/1.jpg') ?>" class="table-user-thumb" alt=""></td>
<td>Tiger Nixon</td>
<td>System Architect</td>
<td>Edinburgh</td>
<td>61</td>
<td>2011/04/25</td>
<td>$320,800</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/2.jpg" class="table-user-thumb" alt=""></td>
<td>Garrett Winters</td>
<td>Accountant</td>
<td>Tokyo</td>
<td>63</td>
<td>2011/07/25</td>
<td>$170,750</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/3.jpg" class="table-user-thumb" alt=""></td>
<td>Ashton Cox</td>
<td>Junior Technical Author</td>
<td>San Francisco</td>
<td>66</td>
<td>2009/01/12</td>
<td>$86,000</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/4.jpg" class="table-user-thumb" alt=""></td>
<td>Cedric Kelly</td>
<td>Senior Javascript Developer</td>
<td>Edinburgh</td>
<td>22</td>
<td>2012/03/29</td>
<td>$433,060</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/5.jpg" class="table-user-thumb" alt=""></td>
<td>Airi Satou</td>
<td>Accountant</td>
<td>Tokyo</td>
<td>33</td>
<td>2008/11/28</td>
<td>$162,700</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/1.jpg" class="table-user-thumb" alt=""></td>
<td>Brielle Williamson</td>
<td>Integration Specialist</td>
<td>New York</td>
<td>61</td>
<td>2012/12/02</td>
<td>$372,000</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/2.jpg" class="table-user-thumb" alt=""></td>
<td>Herrod Chandler</td>
<td>Sales Assistant</td>
<td>San Francisco</td>
<td>59</td>
<td>2012/08/06</td>
<td>$137,500</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/3.jpg" class="table-user-thumb" alt=""></td>
<td>Rhona Davidson</td>
<td>Integration Specialist</td>
<td>Tokyo</td>
<td>55</td>
<td>2010/10/14</td>
<td>$327,900</td>
</tr>
<tr>
<td>
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input select_all_child" id="" name="" value="option2">
<span class="custom-control-label">&nbsp;</span>
</label>
</td>
<td><img src="img/users/4.jpg" class="table-user-thumb" alt=""></td>
<td>Colleen Hurst</td>
<td>Javascript Developer</td>
<td>San Francisco</td>
<td>39</td>
<td>2009/09/15</td>
<td>$205,500</td>
</tr>
</tbody>
<?php foreach ($perkategori as $row) {
$gwkat = (($row->KPENN - $row->KPENP) / $row->KPENP) * 100;
?>
<tbody>
<td><?= $row->KODE ?></td>
<td><?= $row->NMKAT ?></td>
<td class="text-right"><?= number_format($row->KPENN, 0, ',', '.') ?></td>
<td class="text-right"><?= number_format($row->KPENP, 0, ',', '.') ?></td>
<td class="text-center"><?= number_format($gwkat, 2) ?></td>
</tbody>
<?php } ?>
</table>
</div>
</div>
@ -646,7 +556,7 @@
<h6>Chat List</h6>
<form class="mr-t-10">
<div class="form-group">
<input type="text" class="form-control" placeholder="Search for friends ...">
<input type="text" class="form-control" placeholder="Search for friends ...">
<i class="ik ik-search"></i>
</div>
</form>
@ -656,37 +566,37 @@
<a href="javascript:void(0)" class="list-group-item" data-chat-user="Gene Newman">
<figure class="user--online">
<img src="img/users/1.jpg" class="rounded-circle" alt="">
</figure><span><span class="name">Gene Newman</span> <span class="username">@gene_newman</span> </span>
</figure><span><span class="name">Gene Newman</span> <span class="username">@gene_newman</span> </span>
</a>
<a href="javascript:void(0)" class="list-group-item" data-chat-user="Billy Black">
<figure class="user--online">
<img src="img/users/2.jpg" class="rounded-circle" alt="">
</figure><span><span class="name">Billy Black</span> <span class="username">@billyblack</span> </span>
</figure><span><span class="name">Billy Black</span> <span class="username">@billyblack</span> </span>
</a>
<a href="javascript:void(0)" class="list-group-item" data-chat-user="Herbert Diaz">
<figure class="user--online">
<img src="img/users/3.jpg" class="rounded-circle" alt="">
</figure><span><span class="name">Herbert Diaz</span> <span class="username">@herbert</span> </span>
</figure><span><span class="name">Herbert Diaz</span> <span class="username">@herbert</span> </span>
</a>
<a href="javascript:void(0)" class="list-group-item" data-chat-user="Sylvia Harvey">
<figure class="user--busy">
<img src="img/users/4.jpg" class="rounded-circle" alt="">
</figure><span><span class="name">Sylvia Harvey</span> <span class="username">@sylvia</span> </span>
</figure><span><span class="name">Sylvia Harvey</span> <span class="username">@sylvia</span> </span>
</a>
<a href="javascript:void(0)" class="list-group-item active" data-chat-user="Marsha Hoffman">
<figure class="user--busy">
<img src="img/users/5.jpg" class="rounded-circle" alt="">
</figure><span><span class="name">Marsha Hoffman</span> <span class="username">@m_hoffman</span> </span>
</figure><span><span class="name">Marsha Hoffman</span> <span class="username">@m_hoffman</span> </span>
</a>
<a href="javascript:void(0)" class="list-group-item" data-chat-user="Mason Grant">
<figure class="user--offline">
<img src="img/users/1.jpg" class="rounded-circle" alt="">
</figure><span><span class="name">Mason Grant</span> <span class="username">@masongrant</span> </span>
</figure><span><span class="name">Mason Grant</span> <span class="username">@masongrant</span> </span>
</a>
<a href="javascript:void(0)" class="list-group-item" data-chat-user="Shelly Sullivan">
<figure class="user--offline">
<img src="img/users/2.jpg" class="rounded-circle" alt="">
</figure><span><span class="name">Shelly Sullivan</span> <span class="username">@shelly</span></span>
</figure><span><span class="name">Shelly Sullivan</span> <span class="username">@shelly</span></span>
</a>
</div>
</div>
@ -696,8 +606,8 @@
<div class="chat-panel" hidden>
<div class="card">
<div class="card-header d-flex justify-content-between">
<a href="javascript:void(0);"><i class="ik ik-message-square text-success"></i></a>
<span class="user-name">John Doe</span>
<a href="javascript:void(0);"><i class="ik ik-message-square text-success"></i></a>
<span class="user-name">John Doe</span>
<button type="button" class="close" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="card-body">

143
env

@ -1,143 +0,0 @@
#--------------------------------------------------------------------
# Example Environment Configuration file
#
# This file can be used as a starting point for your own
# custom .env files, and contains most of the possible settings
# available in a default install.
#
# By default, all of the settings are commented out. If you want
# to override the setting, you must un-comment it by removing the '#'
# at the beginning of the line.
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------
CI_ENVIRONMENT = development
#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------
# app.baseURL = ''
# If you have trouble with `.`, you could also use `_`.
# app_baseURL = ''
# app.forceGlobalSecureRequests = false
# app.CSPEnabled = false
#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------
# database.default.hostname = localhost
# database.default.database = ci4
# database.default.username = root
# database.default.password = root
# database.default.DBDriver = MySQLi
# database.default.DBPrefix =
# database.default.port = 3306
# database.tests.hostname = localhost
# database.tests.database = ci4_test
# database.tests.username = root
# database.tests.password = root
# database.tests.DBDriver = MySQLi
# database.tests.DBPrefix =
# database.tests.port = 3306
#--------------------------------------------------------------------
# CONTENT SECURITY POLICY
#--------------------------------------------------------------------
# contentsecuritypolicy.reportOnly = false
# contentsecuritypolicy.defaultSrc = 'none'
# contentsecuritypolicy.scriptSrc = 'self'
# contentsecuritypolicy.styleSrc = 'self'
# contentsecuritypolicy.imageSrc = 'self'
# contentsecuritypolicy.baseURI = null
# contentsecuritypolicy.childSrc = null
# contentsecuritypolicy.connectSrc = 'self'
# contentsecuritypolicy.fontSrc = null
# contentsecuritypolicy.formAction = null
# contentsecuritypolicy.frameAncestors = null
# contentsecuritypolicy.frameSrc = null
# contentsecuritypolicy.mediaSrc = null
# contentsecuritypolicy.objectSrc = null
# contentsecuritypolicy.pluginTypes = null
# contentsecuritypolicy.reportURI = null
# contentsecuritypolicy.sandbox = false
# contentsecuritypolicy.upgradeInsecureRequests = false
# contentsecuritypolicy.styleNonceTag = '{csp-style-nonce}'
# contentsecuritypolicy.scriptNonceTag = '{csp-script-nonce}'
# contentsecuritypolicy.autoNonce = true
#--------------------------------------------------------------------
# COOKIE
#--------------------------------------------------------------------
# cookie.prefix = ''
# cookie.expires = 0
# cookie.path = '/'
# cookie.domain = ''
# cookie.secure = false
# cookie.httponly = false
# cookie.samesite = 'Lax'
# cookie.raw = false
#--------------------------------------------------------------------
# ENCRYPTION
#--------------------------------------------------------------------
# encryption.key =
# encryption.driver = OpenSSL
# encryption.blockSize = 16
# encryption.digest = SHA512
#--------------------------------------------------------------------
# HONEYPOT
#--------------------------------------------------------------------
# honeypot.hidden = 'true'
# honeypot.label = 'Fill This Field'
# honeypot.name = 'honeypot'
# honeypot.template = '<label>{label}</label><input type="text" name="{name}" value=""/>'
# honeypot.container = '<div style="display:none">{template}</div>'
#--------------------------------------------------------------------
# SECURITY
#--------------------------------------------------------------------
# security.csrfProtection = 'cookie'
# security.tokenRandomize = false
# security.tokenName = 'csrf_token_name'
# security.headerName = 'X-CSRF-TOKEN'
# security.cookieName = 'csrf_cookie_name'
# security.expires = 7200
# security.regenerate = true
# security.redirect = false
# security.samesite = 'Lax'
#--------------------------------------------------------------------
# SESSION
#--------------------------------------------------------------------
# session.driver = 'CodeIgniter\Session\Handlers\FileHandler'
# session.cookieName = 'ci_session'
# session.expiration = 7200
# session.savePath = null
# session.matchIP = false
# session.timeToUpdate = 300
# session.regenerateDestroy = false
#--------------------------------------------------------------------
# LOGGER
#--------------------------------------------------------------------
# logger.threshold = 4
#--------------------------------------------------------------------
# CURLRequest
#--------------------------------------------------------------------
# curlrequest.shareOptions = false

1
writable/debugbar/debugbar_1708677593.148974.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708678607.741024.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708678663.784881.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708678666.842249.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708678666.884928.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708678728.740374.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708679888.486441.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708679910.185401.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708679911.556901.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708679916.629065.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708679916.695006.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708911901.146370.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708911915.560790.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708911943.016911.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708911943.082908.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912778.707011.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912780.614422.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912782.410480.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912783.316158.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912784.249775.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912800.432209.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912803.407515.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912805.131303.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912806.713457.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912808.876246.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708912812.681890.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708913123.312423.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708913131.390697.json

File diff suppressed because one or more lines are too long

1
writable/debugbar/debugbar_1708913172.929839.json

File diff suppressed because one or more lines are too long

2
writable/session/ci_sessions1v1s52iosf0r4e4g2gpfkpkbe4h9h9o

@ -1 +1 @@
__ci_last_regenerate|i:1708913123;_ci_previous_url|s:26:"https://localhost/enginen/";nip|s:9:"060106375";nama|s:12:"WAWAN SUANDI";kppadm|s:3:"170";jabatan|s:9:"Pelaksana";kantor|s:24:"Kanwil DJP Jawa Tengah I";seksi|s:45:"Bidang Data dan Pengawasan Potensi Perpajakan";
__ci_last_regenerate|i:1708915293;_ci_previous_url|s:26:"https://localhost/enginen/";nip|s:9:"060106375";nama|s:12:"WAWAN SUANDI";kppadm|s:3:"170";jabatan|s:9:"Pelaksana";kantor|s:24:"Kanwil DJP Jawa Tengah I";seksi|s:45:"Bidang Data dan Pengawasan Potensi Perpajakan";
Loading…
Cancel
Save