diff --git a/app/Controllers/Auth.php b/app/Controllers/Auth.php
index 59792fb5..d56721a9 100644
--- a/app/Controllers/Auth.php
+++ b/app/Controllers/Auth.php
@@ -37,7 +37,13 @@ class Auth extends Controller
'isLogin' => true
];
$session->set($ses_data);
- return redirect()->to(base_url('Home'));
+ if(session('tpkantor') == 'KPDJP'){
+ return redirect()->to(base_url('Home'));
+ }else if(session('tpkantor')=='Kanwil'){
+ return redirect()->to(base_url('Kanwil'));
+ }else if(session('tpkantor') == 'KPP'){
+ return redirect()->to(base_url('Kpp'));
+ }
} else {
//print_r('user tidak ada');
//exit;
diff --git a/app/Controllers/Kanwil.php b/app/Controllers/Kanwil.php
index 9faa6145..1b0e26f2 100644
--- a/app/Controllers/Kanwil.php
+++ b/app/Controllers/Kanwil.php
@@ -16,7 +16,7 @@ class Kanwil extends BaseController
$model = new MKanwil();
- if (session('tpkantor') == "KPDJP") {
+ if (session('tpkantor') == 'KPDJP') {
$kwl = $this->request->getPost('kwl');
} else {
$kwl = session('kppadm');
@@ -33,12 +33,14 @@ class Kanwil extends BaseController
} else {
$bulan = $pbulan;
}
+ $p['selkwl'] = $model->selKwl()->getResult();
+
$param = array('kwl' => $kwl, 'tahun' => $tahun, 'bln' => $bulan);
$p['kwlx'] = $kwl;
$p['tahunx'] = $tahun;
$p['bulanx'] = $bulan;
- $p['selkwl'] = $model->selKwl()->getResult();
+
$p['penerimaan'] = $model->getPenn($param)->getResult();
$p['updatex'] = $model->getUpd()->getFirstRow('array');
$p['perkategori'] = $model->getKat($param)->getResult();
diff --git a/app/Views/kanwil/dashboard.php b/app/Views/kanwil/dashboard.php
index 66c7a948..c4673648 100644
--- a/app/Views/kanwil/dashboard.php
+++ b/app/Views/kanwil/dashboard.php
@@ -42,7 +42,13 @@
background: #f1f7ff;
}
+
$data) {
$jml_penerimaan = $jml_penerimaan + $data->PENERIMAAN;
$jml_penerimaantot = $data->PENERIMAAN_TOT;
@@ -94,11 +102,6 @@ foreach ($paycomp as $rowp) {
}
$datapaycomp = $datapaycomp . "]";
-$tahun2 = date('Y');
-$rentang_tahun = range($tahun2, 2022);
-
-$hariini = date('d-m-y');
-
?>
diff --git a/writable/debugbar/debugbar_1709566219.466964.json b/writable/debugbar/debugbar_1709566219.466964.json
deleted file mode 100644
index c4e266ed..00000000
--- a/writable/debugbar/debugbar_1709566219.466964.json
+++ /dev/null
@@ -1 +0,0 @@
-{"url":"https:\/\/localhost\/enginen\/Kanwil","method":"GET","isAJAX":false,"startTime":1709566218.617617,"totalTime":558.5,"totalMemory":"5.852","segmentDuration":80,"segmentCount":7,"CI_VERSION":"4.4.5","collectors":[{"title":"Timers","titleSafe":"timers","titleDetails":"","display":[],"badgeValue":null,"isEmpty":false,"hasTabContent":false,"hasLabel":false,"icon":"","hasTimelineData":true,"timelineData":[{"name":"Bootstrap","component":"Timer","start":1709566218.623561,"duration":0.00990915298461914},{"name":"Routing","component":"Timer","start":1709566218.633471,"duration":0.0003581047058105469},{"name":"Before Filters","component":"Timer","start":1709566218.634524,"duration":1.3828277587890625e-5},{"name":"Controller","component":"Timer","start":1709566218.634539,"duration":0.5415441989898682},{"name":"Controller Constructor","component":"Timer","start":1709566218.63454,"duration":0.0005838871002197266},{"name":"After Filters","component":"Timer","start":1709566219.176116,"duration":0.0069429874420166016}]},{"title":"Database","titleSafe":"database","titleDetails":"(12 total Queries, 12 of them unique across 1 Connection)","display":{"queries":[{"hover":"","class":"","duration":"17.85 ms","sql":"SELECT<\/strong> *\nFROM<\/strong> "REF_KANWIL"","trace":[{"file":"SYSTEMPATH\\Database\\BaseBuilder.php:1616","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Models\\MKanwil.php:13","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseBuilder->get()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:41","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->selKwl()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a07\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:13","qid":"e424c4e4bc7e676a54950bd18868b0f9"},{"hover":"","class":"","duration":"26.13 ms","sql":"SELECT<\/strong> NM_KANWIL, TARGET, SUM<\/strong>(PENERIMAAN_BERJALAN) PENB, SUM<\/strong>(PENERIMAAN_LALU) PENL,\r\n\t\t\t\t(SUM<\/strong>(PENERIMAAN_BERJALAN)\/TARGET)*100 PENCAPAIAN, ((SUM<\/strong>(PENERIMAAN_BERJALAN)-SUM<\/strong>(PENERIMAAN_LALU))\/SUM<\/strong>(PENERIMAAN_LALU))*100 PERTUMBUHAN \r\n\t\t\t\tFROM<\/strong> KINERJA_PENERIMAAN A\r\n LEFT<\/strong> JOIN<\/strong> REF_KANWIL B ON<\/strong> SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)\r\n\t\t\t\tWHERE<\/strong> THN_KINERJA = '2024' AND<\/strong> B.KODE = '170' AND<\/strong> TO_NUMBER(BLN_KINERJA) \r\n\t\t\t\tBETWEEN TO_NUMBER('01') AND<\/strong> TO_NUMBER('03') GROUP<\/strong> BY<\/strong> NM_KANWIL, TARGET","trace":[{"file":"APPPATH\\Models\\MKanwil.php:26","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:42","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getPenn()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:26","qid":"1fa258df14c8bb8fc49320b8a77b889c"},{"hover":"","class":"","duration":"16.39 ms","sql":"SELECT<\/strong> LAST_DDL_TIME UPD\r\n FROM<\/strong> DBA_OBJECTS \r\n WHERE<\/strong> owner = 'GENAPP'\r\n AND<\/strong> object_name = 'KINERJA_PENERIMAAN'","trace":[{"file":"APPPATH\\Models\\MKanwil.php:33","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:43","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getUpd()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:33","qid":"a9661ad9304222ec105ab55eafdff69c"},{"hover":"","class":"","duration":"18.78 ms","sql":"SELECT<\/strong> CASE WHEN KD_KATEGORI IS<\/strong> NULL<\/strong> THEN '-' ELSE KD_KATEGORI END KODE,\r\n CASE WHEN KD_KATEGORI IS<\/strong> NULL<\/strong> THEN 'UNKNOWN' ELSE NM_KATEGORI END NMKAT,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN WPBAYAR ELSE 0 END)WPBYRN,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN WPBAYAR ELSE 0 END)WPBYRP,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) KPENN,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) KPENP\r\n FROM<\/strong> PERKATEGORI_MV\r\n GROUP<\/strong> BY<\/strong> KD_KATEGORI,NM_KATEGORI\r\n ORDER<\/strong> BY<\/strong> KD_KATEGORI ASC<\/strong>\r\n ","trace":[{"file":"APPPATH\\Models\\MKanwil.php:51","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:44","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getKat()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:51","qid":"44fed7c18f78983a48f9d82037311377"},{"hover":"","class":"","duration":"18.66 ms","sql":"SELECT<\/strong> NM_PAJAK,TOTALN PENERIMAAN, TOTALP PENL,\r\n (SELECT<\/strong> ROUND(SUM<\/strong>(TOTAL)) FROM<\/strong> PERJENIS_MV WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR <= '03') PENERIMAAN_TOT,\r\n (SELECT<\/strong> ROUND(SUM<\/strong>(TOTAL)) FROM<\/strong> PERJENIS_MV WHERE<\/strong> THNBYR = '2023' AND<\/strong> BLNBYR <= '03') PENERIMAAN_TOTL\r\n FROM<\/strong> (\r\n SELECT<\/strong> NM_PAJAK,ROUND(SUM<\/strong>(CASE WHEN THNBYR= '2024' AND<\/strong> BLNBYR <= '03' THEN TOTAL ELSE 0 END)) TOTALN,\r\n ROUND(SUM<\/strong>(CASE WHEN THNBYR= '2023' AND<\/strong> BLNBYR <= '03' THEN TOTAL ELSE 0 END)) TOTALP\r\n FROM<\/strong> PERJENIS_MV \r\n GROUP<\/strong> BY<\/strong> NM_PAJAK ORDER<\/strong> BY<\/strong> TOTALN DESC<\/strong>) WHERE<\/strong> ROWNUM < = 7\r\n ","trace":[{"file":"APPPATH\\Models\\MKanwil.php:70","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:45","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getPiePen()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:70","qid":"d22e84a1c21d0ff23f7997fde66fd6e8"},{"hover":"","class":"","duration":"17.9 ms","sql":"SELECT<\/strong> A.JMLBULAN, A.JUMLAHWP,B.JUMLAHWP JUMLAHWPP FROM<\/strong>\r\n (SELECT<\/strong> TO_NUMBER(BLNBYR) JMLBULAN,JUMLAHWP FROM<\/strong> PAYCOMPNAS\r\n WHERE<\/strong> THNBYR = '2024') A,\r\n (SELECT<\/strong> TO_NUMBER(BLNBYR) JMLBULAN,JUMLAHWP FROM<\/strong> PAYCOMPNAS\r\n WHERE<\/strong> THNBYR = '2023') B\r\n WHERE<\/strong> A.JMLBULAN =B.JMLBULAN\r\n ORDER<\/strong> BY<\/strong> A.JMLBULAN ASC<\/strong>","trace":[{"file":"APPPATH\\Models\\MKanwil.php:87","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:46","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->paycompNas()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:87","qid":"904840350c52cec9a3eceed6e50b44b0"},{"hover":"","class":"","duration":"16.63 ms","sql":"SELECT<\/strong> NO,LAPISAN,WPBYR,TOTAL,\r\n (SELECT<\/strong> SUM<\/strong>(ROUND(WPBYR\/2)) FROM<\/strong> SOFNAS WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR < = '03') TOTWPBYR,\r\n (SELECT<\/strong> SUM<\/strong>(TOTAL) FROM<\/strong> SOFNAS WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR < = '03') TOTALL\r\n FROM<\/strong> (\r\n SELECT<\/strong> NO,LAPISAN,SUM<\/strong>(ROUND(WPBYR\/2)) WPBYR,SUM<\/strong>(ROUND(TOTAL)) TOTAL FROM<\/strong> SOFNAS WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR < = '03' \r\n GROUP<\/strong> BY<\/strong> NO,LAPISAN) ORDER<\/strong> BY<\/strong> NO ASC<\/strong> ","trace":[{"file":"APPPATH\\Models\\MKanwil.php:101","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:47","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->sofNas()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:101","qid":"06bbca1e6c442aeb00d41d446b827c30"},{"hover":"","class":"","duration":"15.98 ms","sql":"SELECT<\/strong> *\nFROM<\/strong> "BULAN"","trace":[{"file":"SYSTEMPATH\\Database\\BaseBuilder.php:1616","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Models\\MKanwil.php:110","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseBuilder->get()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:48","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getBln()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a07\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:110","qid":"bcc0083187311d490ac4701047ac5855"},{"hover":"","class":"","duration":"16.85 ms","sql":"SELECT<\/strong> SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPK' THEN JUMLAHWP ELSE 0 END) WPK,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPS' THEN JUMLAHWP ELSE 0 END) WPS\r\n FROM<\/strong> WPSK_MV","trace":[{"file":"APPPATH\\Models\\MKanwil.php:115","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:49","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getWpsk()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:115","qid":"ac5aa344f4050bf829800d5a9d17224a"},{"hover":"","class":"","duration":"20.46 ms","sql":"SELECT<\/strong> \r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPS' AND<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN WPBYR ELSE 0 END) WPSWP,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPS' AND<\/strong> THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN WPBYR ELSE 0 END) WPSWPL,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPS' AND<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) WPSBYRN,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPS' AND<\/strong> THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) WPSBYRP,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPK' AND<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN WPBYR ELSE 0 END) WPKWP,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPK' AND<\/strong> THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN WPBYR ELSE 0 END) WPKWPL,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPK' AND<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) WPKBYRN,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPK' AND<\/strong> THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) WPKBYRP\r\n FROM<\/strong> BREAKDOWN_PEN","trace":[{"file":"APPPATH\\Models\\MKanwil.php:134","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:50","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getBreakdownPen()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:134","qid":"e393e34753af7dc08923e6f06c8d21ef"},{"hover":"","class":"","duration":"17.62 ms","sql":"SELECT<\/strong> \r\n SUM<\/strong>(CASE WHEN TAHUN <= '2024' THEN JUMLAHWP ELSE 0 END) WPADMNOW,\r\n SUM<\/strong>(CASE WHEN TAHUN <= '2023' THEN JUMLAHWP ELSE 0 END) WPADMPAST\r\n FROM<\/strong> WP_TERDAFTAR","trace":[{"file":"APPPATH\\Models\\MKanwil.php:147","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:51","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->getWPterdaftar()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:147","qid":"c4a4e50b1c923f1a3e9d9c863ea31fc3"},{"hover":"","class":"","duration":"17.91 ms","sql":"SELECT<\/strong> SUM<\/strong>(CASE WHEN TAHUN = '2024' THEN JMLLAPOR ELSE 0 END) LAPORNOW,\r\n SUM<\/strong>(CASE WHEN TAHUN = '2023' THEN JMLLAPOR ELSE 0 END) LAPORPAST\r\n FROM<\/strong> DASH_SPTTAHUNAN","trace":[{"file":"APPPATH\\Models\\MKanwil.php:158","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\Database\\BaseConnection->query()","index":"\u00a0\u00a01\u00a0\u00a0\u00a0\u00a0"},{"file":"APPPATH\\Controllers\\Kanwil.php:52","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Models\\MKanwil->laporTahunan()","index":"\u00a0\u00a02\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:941","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0App\\Controllers\\Kanwil->index()","index":"\u00a0\u00a03\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:502","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->runController()","index":"\u00a0\u00a04\u00a0\u00a0\u00a0\u00a0"},{"file":"SYSTEMPATH\\CodeIgniter.php:361","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->handleRequest()","index":"\u00a0\u00a05\u00a0\u00a0\u00a0\u00a0"},{"file":"FCPATH\\index.php:79","function":"\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CodeIgniter\\CodeIgniter->run()","index":"\u00a0\u00a06\u00a0\u00a0\u00a0\u00a0"}],"trace-file":"APPPATH\\Models\\MKanwil.php:158","qid":"1be7a5127b5d514d4a547ffb66d463ea"}]},"badgeValue":12,"isEmpty":false,"hasTabContent":true,"hasLabel":false,"icon":"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADMSURBVEhLY6A3YExLSwsA4nIycQDIDIhRWEBqamo\/UNF\/SjDQjF6ocZgAKPkRiFeEhoYyQ4WIBiA9QAuWAPEHqBAmgLqgHcolGQD1V4DMgHIxwbCxYD+QBqcKINseKo6eWrBioPrtQBq\/BcgY5ht0cUIYbBg2AJKkRxCNWkDQgtFUNJwtABr+F6igE8olGQD114HMgHIxAVDyAhA\/AlpSA8RYUwoeXAPVex5qHCbIyMgwBCkAuQJIY00huDBUz\/mUlBQDqHGjgBjAwAAACexpph6oHSQAAAAASUVORK5CYII=","hasTimelineData":true,"timelineData":[{"name":"Connecting to Database: \"default\"","component":"Database","start":1709566218.673541,"duration":"0.211716"},{"name":"Query","component":"Database","start":1709566218.900813,"duration":"0.017848","query":"SELECT<\/strong> *\nFROM<\/strong> "REF_KANWIL""},{"name":"Query","component":"Database","start":1709566218.938834,"duration":"0.026128","query":"SELECT<\/strong> NM_KANWIL, TARGET, SUM<\/strong>(PENERIMAAN_BERJALAN) PENB, SUM<\/strong>(PENERIMAAN_LALU) PENL,\r\n\t\t\t\t(SUM<\/strong>(PENERIMAAN_BERJALAN)\/TARGET)*100 PENCAPAIAN, ((SUM<\/strong>(PENERIMAAN_BERJALAN)-SUM<\/strong>(PENERIMAAN_LALU))\/SUM<\/strong>(PENERIMAAN_LALU))*100 PERTUMBUHAN \r\n\t\t\t\tFROM<\/strong> KINERJA_PENERIMAAN A\r\n LEFT<\/strong> JOIN<\/strong> REF_KANWIL B ON<\/strong> SUBSTR(A.NM_KANWIL,16) = SUBSTR(UPPER(NAMA),8)\r\n\t\t\t\tWHERE<\/strong> THN_KINERJA = '2024' AND<\/strong> B.KODE = '170' AND<\/strong> TO_NUMBER(BLN_KINERJA) \r\n\t\t\t\tBETWEEN TO_NUMBER('01') AND<\/strong> TO_NUMBER('03') GROUP<\/strong> BY<\/strong> NM_KANWIL, TARGET"},{"name":"Query","component":"Database","start":1709566218.965028,"duration":"0.016387","query":"SELECT<\/strong> LAST_DDL_TIME UPD\r\n FROM<\/strong> DBA_OBJECTS \r\n WHERE<\/strong> owner = 'GENAPP'\r\n AND<\/strong> object_name = 'KINERJA_PENERIMAAN'"},{"name":"Query","component":"Database","start":1709566218.981498,"duration":"0.018784","query":"SELECT<\/strong> CASE WHEN KD_KATEGORI IS<\/strong> NULL<\/strong> THEN '-' ELSE KD_KATEGORI END KODE,\r\n CASE WHEN KD_KATEGORI IS<\/strong> NULL<\/strong> THEN 'UNKNOWN' ELSE NM_KATEGORI END NMKAT,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN WPBAYAR ELSE 0 END)WPBYRN,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN WPBAYAR ELSE 0 END)WPBYRP,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) KPENN,\r\n SUM<\/strong>(CASE WHEN THNBYR = '2023' AND<\/strong> BLNBYR <= '03' THEN ROUND(TOTAL) ELSE 0 END) KPENP\r\n FROM<\/strong> PERKATEGORI_MV\r\n GROUP<\/strong> BY<\/strong> KD_KATEGORI,NM_KATEGORI\r\n ORDER<\/strong> BY<\/strong> KD_KATEGORI ASC<\/strong>\r\n "},{"name":"Query","component":"Database","start":1709566219.000462,"duration":"0.018657","query":"SELECT<\/strong> NM_PAJAK,TOTALN PENERIMAAN, TOTALP PENL,\r\n (SELECT<\/strong> ROUND(SUM<\/strong>(TOTAL)) FROM<\/strong> PERJENIS_MV WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR <= '03') PENERIMAAN_TOT,\r\n (SELECT<\/strong> ROUND(SUM<\/strong>(TOTAL)) FROM<\/strong> PERJENIS_MV WHERE<\/strong> THNBYR = '2023' AND<\/strong> BLNBYR <= '03') PENERIMAAN_TOTL\r\n FROM<\/strong> (\r\n SELECT<\/strong> NM_PAJAK,ROUND(SUM<\/strong>(CASE WHEN THNBYR= '2024' AND<\/strong> BLNBYR <= '03' THEN TOTAL ELSE 0 END)) TOTALN,\r\n ROUND(SUM<\/strong>(CASE WHEN THNBYR= '2023' AND<\/strong> BLNBYR <= '03' THEN TOTAL ELSE 0 END)) TOTALP\r\n FROM<\/strong> PERJENIS_MV \r\n GROUP<\/strong> BY<\/strong> NM_PAJAK ORDER<\/strong> BY<\/strong> TOTALN DESC<\/strong>) WHERE<\/strong> ROWNUM < = 7\r\n "},{"name":"Query","component":"Database","start":1709566219.019207,"duration":"0.017897","query":"SELECT<\/strong> A.JMLBULAN, A.JUMLAHWP,B.JUMLAHWP JUMLAHWPP FROM<\/strong>\r\n (SELECT<\/strong> TO_NUMBER(BLNBYR) JMLBULAN,JUMLAHWP FROM<\/strong> PAYCOMPNAS\r\n WHERE<\/strong> THNBYR = '2024') A,\r\n (SELECT<\/strong> TO_NUMBER(BLNBYR) JMLBULAN,JUMLAHWP FROM<\/strong> PAYCOMPNAS\r\n WHERE<\/strong> THNBYR = '2023') B\r\n WHERE<\/strong> A.JMLBULAN =B.JMLBULAN\r\n ORDER<\/strong> BY<\/strong> A.JMLBULAN ASC<\/strong>"},{"name":"Query","component":"Database","start":1709566219.037193,"duration":"0.016635","query":"SELECT<\/strong> NO,LAPISAN,WPBYR,TOTAL,\r\n (SELECT<\/strong> SUM<\/strong>(ROUND(WPBYR\/2)) FROM<\/strong> SOFNAS WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR < = '03') TOTWPBYR,\r\n (SELECT<\/strong> SUM<\/strong>(TOTAL) FROM<\/strong> SOFNAS WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR < = '03') TOTALL\r\n FROM<\/strong> (\r\n SELECT<\/strong> NO,LAPISAN,SUM<\/strong>(ROUND(WPBYR\/2)) WPBYR,SUM<\/strong>(ROUND(TOTAL)) TOTAL FROM<\/strong> SOFNAS WHERE<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR < = '03' \r\n GROUP<\/strong> BY<\/strong> NO,LAPISAN) ORDER<\/strong> BY<\/strong> NO ASC<\/strong> "},{"name":"Query","component":"Database","start":1709566219.053968,"duration":"0.015980","query":"SELECT<\/strong> *\nFROM<\/strong> "BULAN""},{"name":"Query","component":"Database","start":1709566219.0701,"duration":"0.016850","query":"SELECT<\/strong> SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPK' THEN JUMLAHWP ELSE 0 END) WPK,\r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPS' THEN JUMLAHWP ELSE 0 END) WPS\r\n FROM<\/strong> WPSK_MV"},{"name":"Query","component":"Database","start":1709566219.087046,"duration":"0.020459","query":"SELECT<\/strong> \r\n SUM<\/strong>(CASE WHEN FLAG_WPS_WPK = 'WPS' AND<\/strong> THNBYR = '2024' AND<\/strong> BLNBYR <= '03' THEN WPBYR ELSE 0 END) WPSWP,\r\n