Browse Source

hak akses PKD

main^2
pecintaseni 5 months ago committed by =
parent
commit
f67b9915dc
  1. BIN
      app/Controllers/Kewilayahan.zip
  2. 13
      app/Controllers/Kewilayahan/IdentAktifitasHasil/IdentifikasiLapangan.php
  3. 8
      app/Controllers/Kewilayahan/IdentAktifitasHasil/PerubahanPerilaku/Pembayaran.php
  4. 5
      app/Controllers/Kewilayahan/IdentAktifitasHasil/PerubahanPerilaku/Pendaftaran.php
  5. 17
      app/Controllers/Kewilayahan/IdentAktifitasHasil/PerubahanPerilaku/Perubahan.php
  6. 9
      app/Controllers/Kewilayahan/PoiGoogleMatoa/PoiGoogleMatoa.php
  7. 12
      app/Controllers/Kewilayahan/Ref.php
  8. 9
      app/Controllers/Kewilayahan/Sebaran/Identifikasi.php
  9. 9
      app/Controllers/Kewilayahan/Sebaran/JenisStatus.php
  10. 9
      app/Controllers/Kewilayahan/Sebaran/KLU.php
  11. 9
      app/Controllers/Kewilayahan/Sebaran/PayComp.php
  12. 9
      app/Controllers/Kewilayahan/Sebaran/Pembayaran.php
  13. 9
      app/Controllers/Kewilayahan/Sebaran/Pengampu.php
  14. 9
      app/Controllers/Kewilayahan/Sebaran/SPTTAhunan.php
  15. 9
      app/Controllers/Kewilayahan/Sebaran/Sof.php
  16. 9
      app/Controllers/Kewilayahan/Sebaran/ZonaPengawasan.php
  17. 28496
      app/Views/kewilayahan/dist/kpdl.css
  18. 9993
      app/Views/kewilayahan/dist/kpdl.js
  19. 28114
      app/Views/kewilayahan/dist/monitoring.css
  20. 7499
      app/Views/kewilayahan/dist/monitoring.js
  21. 57217
      app/Views/kewilayahan/dist/peta.css
  22. 8185
      app/Views/kewilayahan/dist/peta.js
  23. 28496
      public/kpdl/dist/kpdl.css
  24. 9993
      public/kpdl/dist/kpdl.js
  25. 28114
      public/kpdl/dist/monitoring.css
  26. 7499
      public/kpdl/dist/monitoring.js
  27. 9
      public/kpdl/dist/peta.css
  28. 101
      public/kpdl/dist/peta.js

BIN
app/Controllers/Kewilayahan.zip

Binary file not shown.

13
app/Controllers/Kewilayahan/IdentAktifitasHasil/IdentifikasiLapangan.php

@ -5,7 +5,6 @@ use App\Libraries\AldLibrary;
use App\Libraries\KpdlLibrary;
class IdentifikasiLapangan extends \App\Controllers\Kewilayahan\Kytp
{
protected function dataKpdl($request, $bulan)
@ -98,7 +97,7 @@ class IdentifikasiLapangan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -117,7 +116,7 @@ class IdentifikasiLapangan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -215,7 +214,7 @@ class IdentifikasiLapangan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -234,7 +233,7 @@ class IdentifikasiLapangan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -382,7 +381,7 @@ class IdentifikasiLapangan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -401,7 +400,7 @@ class IdentifikasiLapangan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

8
app/Controllers/Kewilayahan/IdentAktifitasHasil/PerubahanPerilaku/Pembayaran.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\IdentAktifitasHasil\PerubahanPerilaku;
use App\Libraries\AldLibrary;
class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
{
public function detail()
@ -59,7 +58,8 @@ class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
A.KPPADM_MFWP, A.NAMA_AR_MFWP, A.FLAG_WPS_WPK, A.STATUS_WP_MFWP, A.JNS_WP_MFWP, A.STATUS_SPT_TAHUNAN_TERAKHIR,
A.TGL_DAFTAR,JUMLAH_PEMBAYARAN_THN_TERAKHIR')
->join('KPDL_MV_PEMBAYARAN_PERTAMA C', 'A.NPWP = C.NPWP AND A.CREATION_DATE <= C.TGL_BYR', 'inner')
->where('A.NPWP IS NOT NULL');
->where('A.NPWP IS NOT NULL')
->where('A.JUMLAH_PEMBAYARAN_THN_TERAKHIR >', 0);
if ($opsiWilZona == 'wilayah') {
$data->whereIn('ADM4_PCODE', $adm4_pcode);
@ -106,7 +106,7 @@ class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -125,7 +125,7 @@ class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

5
app/Controllers/Kewilayahan/IdentAktifitasHasil/PerubahanPerilaku/Pendaftaran.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\IdentAktifitasHasil\PerubahanPerilaku;
use App\Libraries\AldLibrary;
class Pendaftaran extends \App\Controllers\Kewilayahan\Kytp
{
public function detail()
@ -105,7 +104,7 @@ class Pendaftaran extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -124,7 +123,7 @@ class Pendaftaran extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

17
app/Controllers/Kewilayahan/IdentAktifitasHasil/PerubahanPerilaku/Perubahan.php

@ -5,7 +5,6 @@ use App\Libraries\AldLibrary;
use App\Libraries\KpdlLibrary;
class Perubahan extends \App\Controllers\Kewilayahan\Kytp
{
protected function dataPerilakuPembayaran($request)
{
@ -90,7 +89,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -109,7 +108,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -221,7 +220,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -240,7 +239,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -353,7 +352,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -372,7 +371,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -483,7 +482,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -502,7 +501,7 @@ class Perubahan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/PoiGoogleMatoa/PoiGoogleMatoa.php

@ -5,7 +5,6 @@ use App\Libraries\AldLibrary;
use App\Libraries\KpdlLibrary;
class PoiGoogleMatoa extends \App\Controllers\Kewilayahan\Kytp
{
protected function get_poi_agg($request)
{
@ -63,14 +62,14 @@ class PoiGoogleMatoa extends \App\Controllers\Kewilayahan\Kytp
->where('B.NIP_AR', session('nip'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$sqlGenerate->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
->where('B.KD_KPP', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$sqlGenerate->orGroupStart()
->where('B.KD_KPP', session('kppadm'))
@ -152,14 +151,14 @@ class PoiGoogleMatoa extends \App\Controllers\Kewilayahan\Kytp
->where('B.NIP_AR', session('nip'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$sqlGenerate->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
->where('B.KD_KPP', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$sqlGenerate->orGroupStart()
->where('B.KD_KPP', session('kppadm'))

12
app/Controllers/Kewilayahan/Ref.php

@ -204,14 +204,15 @@ class Ref extends Controller
if (session('kppadm') != session('kwladm')) { //kpp
$data->where('KD_KPP', session('kppadm'));
//hanya kasi dan AR seksi was || kepala kantor
if (!((in_array($currentPegawai->KD_JAB_STRUKTURAL, ['602', '401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan')
//hanya kasi dan AR seksi was || kepala kantor || kasi PKD
if (!(
(in_array($currentPegawai->KD_JAB_STRUKTURAL, ['602', '401']) && (substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan' || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data'))
|| (substr($currentPegawai->KD_JAB_STRUKTURAL, 0, 1) == '3'))) {
return $this->respond([], 200);
}
//kasi / AR
if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['602', '401'])) {
if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['602', '401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') {
$data->where('KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI);
}
@ -257,8 +258,9 @@ class Ref extends Controller
if (session('kppadm') != session('kwladm')) { //kpp
$data->where('KD_KPP', session('kppadm'));
//hanya kasi dan AR seksi was || kepala kantor
if (!((in_array($currentPegawai->KD_JAB_STRUKTURAL, ['602', '401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan')
//hanya kasi dan AR seksi was || kepala kantor || kasi PKD
if (!(
(in_array($currentPegawai->KD_JAB_STRUKTURAL, ['602', '401']) && (substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan' || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data'))
|| (substr($currentPegawai->KD_JAB_STRUKTURAL, 0, 1) == '3'))) {
return $this->respond([], 200);
}

9
app/Controllers/Kewilayahan/Sebaran/Identifikasi.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\Sebaran;
use App\Libraries\AldLibrary;
class Identifikasi extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request)
{
@ -89,7 +88,7 @@ class Identifikasi extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -108,7 +107,7 @@ class Identifikasi extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -257,7 +256,7 @@ class Identifikasi extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -276,7 +275,7 @@ class Identifikasi extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/JenisStatus.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\Sebaran;
use App\Libraries\AldLibrary;
class JenisStatus extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request, $jenisOrStatus)
{
@ -103,7 +102,7 @@ class JenisStatus extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -122,7 +121,7 @@ class JenisStatus extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -267,7 +266,7 @@ class JenisStatus extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -286,7 +285,7 @@ class JenisStatus extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/KLU.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\Sebaran;
use App\Libraries\AldLibrary;
class KLU extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request, $jenischart)
{
@ -97,7 +96,7 @@ class KLU extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -116,7 +115,7 @@ class KLU extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -279,7 +278,7 @@ class KLU extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -298,7 +297,7 @@ class KLU extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/PayComp.php

@ -5,7 +5,6 @@ use App\Libraries\AldLibrary;
use CodeIgniter\Database\RawSql;
class PayComp extends \App\Controllers\Kewilayahan\Kytp
{
protected function dataC($request, $tahun, $bulan)
{
@ -85,7 +84,7 @@ class PayComp extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -104,7 +103,7 @@ class PayComp extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -255,7 +254,7 @@ class PayComp extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -274,7 +273,7 @@ class PayComp extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/Pembayaran.php

@ -5,7 +5,6 @@ use App\Libraries\AldLibrary;
use CodeIgniter\Database\RawSql;
class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
{
protected function dataC($request, $tahun, $bulan)
{
@ -90,7 +89,7 @@ class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -109,7 +108,7 @@ class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -277,7 +276,7 @@ class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -296,7 +295,7 @@ class Pembayaran extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/Pengampu.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\Sebaran;
use App\Libraries\AldLibrary;
class Pengampu extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request, $jenis)
{
@ -103,7 +102,7 @@ class Pengampu extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -122,7 +121,7 @@ class Pengampu extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -264,7 +263,7 @@ class Pengampu extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -283,7 +282,7 @@ class Pengampu extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/SPTTAhunan.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\Sebaran;
use App\Libraries\AldLibrary;
class SPTTAhunan extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request, $tahun)
{
@ -89,7 +88,7 @@ class SPTTAhunan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -108,7 +107,7 @@ class SPTTAhunan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -252,7 +251,7 @@ class SPTTAhunan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -271,7 +270,7 @@ class SPTTAhunan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/Sof.php

@ -5,7 +5,6 @@ use App\Libraries\AldLibrary;
use CodeIgniter\Database\RawSql;
class Sof extends \App\Controllers\Kewilayahan\Kytp
{
protected function dataC($request, $tahun, $bulan)
{
@ -83,7 +82,7 @@ class Sof extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -102,7 +101,7 @@ class Sof extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -269,7 +268,7 @@ class Sof extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -288,7 +287,7 @@ class Sof extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

9
app/Controllers/Kewilayahan/Sebaran/ZonaPengawasan.php

@ -4,7 +4,6 @@ namespace App\Controllers\Kewilayahan\Sebaran;
use App\Libraries\AldLibrary;
class ZonaPengawasan extends \App\Controllers\Kewilayahan\Kytp
{
protected function data($request)
{
@ -104,7 +103,7 @@ class ZonaPengawasan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi
//zona
$npwp->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -123,7 +122,7 @@ class ZonaPengawasan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$npwp->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))
@ -266,7 +265,7 @@ class ZonaPengawasan extends \App\Controllers\Kewilayahan\Kytp
->where('A.NIP_AR_PENGAMPU', session('nip'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401'])) { //kasi
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['401']) && substr($currentPegawai->NAMA_UNIT_ES4, 0, 16) == 'Seksi Pengawasan') { //kasi was
//zona
$data->orGroupStart()
->where('B.KD_UNIT_OR', $currentPegawai->KD_UNIT_ORGANISASI)
@ -285,7 +284,7 @@ class ZonaPengawasan extends \App\Controllers\Kewilayahan\Kytp
->where('C.KPPADM', session('kppadm'))
->where('A.KPPADM_PENGAMPU', session('kppadm'))
->groupEnd();
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304'])) { //Kepala Kantor
} else if (in_array($currentPegawai->KD_JAB_STRUKTURAL, ['304']) || $currentPegawai->NAMA_UNIT_ES4 == 'Seksi Penjaminan Kualitas Data') { //Kepala Kantor
//zona
$data->orGroupStart()
->where('A.KPPADM_ZONA', session('kppadm'))

28496
app/Views/kewilayahan/dist/kpdl.css vendored

File diff suppressed because one or more lines are too long

9993
app/Views/kewilayahan/dist/kpdl.js vendored

File diff suppressed because one or more lines are too long

28114
app/Views/kewilayahan/dist/monitoring.css vendored

File diff suppressed because one or more lines are too long

7499
app/Views/kewilayahan/dist/monitoring.js vendored

File diff suppressed because one or more lines are too long

57217
app/Views/kewilayahan/dist/peta.css vendored

File diff suppressed because one or more lines are too long

8185
app/Views/kewilayahan/dist/peta.js vendored

File diff suppressed because one or more lines are too long

28496
public/kpdl/dist/kpdl.css vendored

File diff suppressed because one or more lines are too long

9993
public/kpdl/dist/kpdl.js vendored

File diff suppressed because one or more lines are too long

28114
public/kpdl/dist/monitoring.css vendored

File diff suppressed because one or more lines are too long

7499
public/kpdl/dist/monitoring.js vendored

File diff suppressed because one or more lines are too long

9
public/kpdl/dist/peta.css vendored

File diff suppressed because one or more lines are too long

101
public/kpdl/dist/peta.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save