Skip to content

Commit

Permalink
Rilis v2309.0.0 (#831)
Browse files Browse the repository at this point in the history
* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* Perbaiki panjang slug prosedur (#606)

* Perbaiki panjang slug prosedur

* Sesuaikan migrasi

* Fix styling

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* mutakhirkan catatan rilis

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi prosedur (#616)

* Perbaiki validasi prosedur

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Perbaiki jika camat belum diisi (#623)

* Perbaiki jika camat belum diisi

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Custom error 500 (#621)

* Custom error 5000

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* perbaiki eror menu keluarga (#627)

* perbaiki eror menu keluarga

* hapus name

* meringkas script

* Mutakhirkan catatan rilis

---------

Co-authored-by: Yogi Perdana <[email protected]>

* Fix demo data #628 (#631)

* Fix #628

* Enum jabatan_id, command bahasa indonesia

* Force migrate & seed demo data

* Command bahasa indonesia

* Mutakhirkan catatan rilis

* Perbaiki sambutan camat kosong (#642)

* Perbaiki sambutan camat kosong

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Perbaiki preview gambar slider (#644)

* Perbaiki preview gambar tidak muncul

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Perbaiki halaman sejarah (#645)

* Perbaiki halaman sejarah

* Fix styling

* mutakhirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Security artikel (#649)

* Tambah validasi upload file

* Sesuaikan validasi dengan database

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki slider tidak bisa lebih dari 4 (#646)

* Perbaiki slider tidak bisa lebih dari 4

* Fix styling

* Pindah script ke controller

* Sesuaikan deskripsi

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Buat validasi file valid (#651)

* Buat validasi file valid

* Fix styling

* ubah pesan invalid

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi pengurus (#654)

* Perbaiki form validasi pengurus

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form keluhan (#658)

* Perbaiki validasi form keluhan

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi pengurus (#654)

* Perbaiki form validasi pengurus

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Tte (#590)

* Buat migrasi

* Buat migrasi tte

* Buat controller dan route

* Buat form pengaturan tte

* Buat validasi pengaturan tte

* Buat fungsi update

* Perbaiki breadcrumb

* Fix styling

* Menu arsip (#592)

* Buat migrasi

* Buat model dan controller

* Perbaiki migrasi

* Buat halaman permohonan dan arsip surat

* Perbaiki datatable

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Api surat (#593)

* Buat migrasi

* Buat model dan controller

* Perbaiki migrasi

* Buat halaman permohonan dan arsip surat

* Perbaiki datatable

* Buat API menangkap surat dari opensid

* Buat validasi kode desa

* Hapus kolom format

* hapus rule double nik dan hapus format

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Masukkan logo bsre di halaman login (#594)

* Masukkan logo bsre di halaman login

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Validasi pengaturan tte

* Pengaturan pemeriksaan surat (#595)

* Buat migrasi

* Buat pengaturan pemeriksaan alur surat

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Api status surat (#599)

* Validasi pengaturan tte

* Buat validasi penduduk

* Buat relasi surat

* Perbaiki halaman arsip

* Buat notifikasi

* Sesuaikan ukuran badge

* Validasi pemeriksaan surat di permohonan

* Sesuaikan pengaturan surat

* Sesuaikan notifikasi

* Sesuaikan validasi penandatangan

* Sesuaikan tabel

* Buat fungsi tampilkan pdf

* Buat fungsi download berkas

* Buat fungsi setujui surat

* Buat fungsi tolak

* Sesuaikan enumeration

* Buat validasi pemeriksa

* Buat widget surat

* Buat halaman permonan ditolak

* Buat api get surat

* Sesuaikan spasi

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Notifikasi surat (#596)

* Validasi pengaturan tte

* Buat validasi penduduk

* Buat relasi surat

* Perbaiki halaman arsip

* Buat notifikasi

* Sesuaikan ukuran badge

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Pemeriksaan surat (#597)

* Validasi pengaturan tte

* Buat validasi penduduk

* Buat relasi surat

* Perbaiki halaman arsip

* Buat notifikasi

* Sesuaikan ukuran badge

* Validasi pemeriksaan surat di permohonan

* Sesuaikan pengaturan surat

* Sesuaikan notifikasi

* Sesuaikan validasi penandatangan

* Sesuaikan tabel

* Buat fungsi tampilkan pdf

* Buat fungsi download berkas

* Buat fungsi setujui surat

* Buat fungsi tolak

* Sesuaikan enumeration

* Buat validasi pemeriksa

* Buat widget surat

* Buat halaman permonan ditolak

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Resolve conflict

* Fix styling

* Sesuaikan validasi nomor surat

* Fix styling

* Sesuaikan method route

* Buat keterangan mode demo (#607)

* Buat keterangan mode demo

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Link qrcode (#608)

* Sesuaikan migrasi dan validasi

* Buat link qrcode

* Sesuaikan view

* Perbaiki parameter

* Sesuaikan tipe data nomor

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Proses tte (#618)

* Sesuaikan migrasi dan validasi

* Buat link qrcode

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* Perbaiki panjang slug prosedur (#606)

* Perbaiki panjang slug prosedur

* Sesuaikan migrasi

* Fix styling

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* mutakhirkan catatan rilis

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Sesuaikan view

* Perbaiki parameter

* Perbaiki validasi prosedur (#616)

* Perbaiki validasi prosedur

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Sesuaikan tipe data nomor

* Buat migrasi

* Simpan log ketika gagal

* Sesuaikan konfigurasi guzzle

* Tes post

* Sesuaikan tipe kolom nik pengurus

* Buat fungsi tte

* Sesuaikan link qrcode

* Sesuaikan tag

* Update catatan_rilis.md

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Afila <[email protected]>

* Download surat (#619)

* Sesuaikan migrasi dan validasi

* Buat link qrcode

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* Perbaiki panjang slug prosedur (#606)

* Perbaiki panjang slug prosedur

* Sesuaikan migrasi

* Fix styling

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* mutakhirkan catatan rilis

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Sesuaikan view

* Perbaiki parameter

* Perbaiki validasi prosedur (#616)

* Perbaiki validasi prosedur

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Sesuaikan tipe data nomor

* Buat migrasi

* Simpan log ketika gagal

* Sesuaikan konfigurasi guzzle

* Tes post

* Sesuaikan tipe kolom nik pengurus

* Buat fungsi tte

* Sesuaikan link qrcode

* Sesuaikan tag

* Implementasi api download

* Kirim id untuk status surat

* Sesuaikan response

* Sesuaikan parameter

* Update catatan_rilis.md

* Update catatan_rilis.md

* Update catatan_rilis.md

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Afila <[email protected]>

* Fix styling

* Download surat arsip

* Fix styling

* Perbaiki error migrasi

* Fix styling

* Perbaiki nama penduduk arsip

* Fix styling

* Pesan peringatan

* Perbaiki gagal install awal dan install:dev

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>
Co-authored-by: apidong <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Perbaikan jumlah penduduk tidak sinkron antara kecamatan dan desa karena perubahan NIK (kasus tertentu) (#663)

* Perbaiki penduduk ganti nik ketika sinkronisasi

* Update composer.json

* Delete migrasi

* Update SinkronPenduduk.php

* Fix styling

* [ci skip] catatan rilis

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: andifahruddinakas <[email protected]>

* Update lfm.php (#674)

Fix bug UniSharp Laravel File Manager issue #673

* Mutakhirkan catatan rilis

* Audit keamanan form profil (#677)

* Audit keamanan form profil

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form slide (#678)

* Audit keamanan form slide

* Sesuaikan

* [ci skip[ memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form media sosial (#679)

* Audit keamanan form media sosial

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form sinergi program (#682)

* Audit keamanan form sinergi program

* Fix styling

* [ci skip] memtuahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form pengguna (#676)

* Audit keamanan form pengguna

* Sesuaikan form edit

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Perbaiki cek login / buat key untuk opensid (#689)

* Perbaiki cek login / buat key untuk opensid

* Fix styling

* Update notif

* Update AuthController.php

* Update AuthController.php

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Perbaiki urutan event tidak urut (#696)

* Perbaiki urutan event tidak urut

* Fix styling

* [ci skip] catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Perbaiki urutan event tidak urut (#696)

* Perbaiki urutan event tidak urut

* Fix styling

* [ci skip] catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Perbaiki gagal impor penduduk ketika menjalankan data demo (#693)

* Perbaiki gagal impor penduduk ketika menjalankan data demo

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Data demo untuk kebutuhan server demodk (#694)

* Perbaiki gagal impor penduduk ketika menjalankan data demo

* Tambah data demo artikel dan bantuan

* Data pesan

* Data potensi

* Data prosedur

* Data regulasi

* Data dokumen

* Data event

* Data FAQ

* Data media sosial

* Data sinergi program

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Tambah csrf form pencarian halaman depan (#697)

* Tambah csrf form pencarian halaman depan

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Upgrade laravel filemanager (#698)

* Upgrade laravel filemanager

* Fix styling

* Sesuaikan config

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Tambah validasi client side form potensi agar memudahkan pengguna (#713)

* Tambah validasi client side form potensi agar memudahkan pengguna

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Tambah validasi client side agar memudahkan pengguna (#712)

* Tambah validasi client side agar memudahkan pengguna

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* perbaikan fitur keluhan web dan admin (#670)

* fix: issue 503

* delete file yang tidak diperlukan di server

* fix: set default nilai dropdown status keluhan

* fix: set migration untuk ubah status BELUM menjadi  PROSES

* misc: hapus code debugging

* misc: hapus code yang tidak digunakan

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* [ci skip] memutahirkan catatan rilis

* Tambah validasi client side form event agar memudahkan pengguna (#716)

* Seragamkan form validasi dengan database

* Fix styling

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Tambah validasi client side form faq agar memudahkan pengguna (#717)

* Sesuaikan validasi untuk form faq

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Penyesuaian slug tidak berubah ketika di edit pada kategori potensi (#718)

* Penyesuaian slug tidak berubah ketika di edit pada kategori potensi untuk menghindari bug ketika sudah dibagikan

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Sesuaikan htaccess untuk mencegah eksekusi file php selain index (#720)

* Sesuaikan htaccess untuk mencegah eksekusi file php selain index

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Perbaiki tampilan ketika tidak ada gambar (#724)

* Perbaiki tampilan ketika tidak ada gambar

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Tambah validasi client side form dokumen agar memudahkan pengguna (#721)

* Tambah validasi client side form dokumen agar memudahkan pengguna

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Penyesuaian slug tidak berubah ketika di edit pada kategori komplain (#722)

* Penyesuaian slug tidak berubah ketika di edit pada kategori komplain

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Penyesuaian slug tidak berubah ketika di edit pada tipe regulasi (#723)

* Penyesuaian slug tidak berubah ketika di edit pada tipe regulasi

* Fix styling

* [ci skip] memtuahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Tambahkan flag HttpOnly pada setiap Cookie (#734)

* Tambahkan flag HttpOnly

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* perbaikan pengurutan informasi artikel (#732)

* [bug] perbaiki pengurutan informasi artikel

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* [bug] perbaiki pencarian & pengurutan (#731)

* [bug] perbaiki pencarian & pengurutan

* [ci skip]  memutahirkan catatan rilis

---------

Co-authored-by: Abah Roland <[email protected]>

* Tambahkan Header Anti-MIME-Sniffing (#733)

* Tambahkan Header Anti-MIME-Sniffing

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: agungsugiarto <[email protected]>
Co-authored-by: Abah Roland <[email protected]>

* pindahkan library ke internal asset (#735)

* pindahkan library ke internal asset

* [ci ski] memutahirkan catatan rilis

---------

Co-authored-by: Abah Roland <[email protected]>

* Tambahakn Content-Security-Policy header (#736)

* Tambahkan Header Anti-MIME-Sniffing

* Fix styling

* Tambahakn Content-Security-Policy header

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: agungsugiarto <[email protected]>
Co-authored-by: Abah Roland <[email protected]>

* rapikan css inline (#740)

* rapikan css

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* perbaikan notifikasi gagal kirim identitas desa menggunakan bahasa indonesia (#741)

* translate pesan header validation

* Fix styling

* [ci skip] catatan rilis

---------

Co-authored-by: agungsugiarto <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>

* [bug] default bahasa indonesia untuk datatable (#743)

* [bug] default bahasa indonesia untuk datatable

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Issue#729 (#739)

* wip: upgrade tinymce

* tinymce

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* perbaikan angka pada data statistik web (#761)

* Perbaiki penulisan angka statistik

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* perbaikan tampilan detail penduduk (#762)

* Perbaiki tampilan detail penduduk

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* perbaikan validasi modul media sosial (#766)

* Perbaiki validasi media sosial

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* perbaikan tampilan pesan sudah dan belum dibaca (#760)

* Perbaiki pesan sudah dibaca tetap tertanda sebagai belum dibaca dan sebaliknya

* Perbaiki pesan tidak menjadi sudah dibaca ketika dibuka

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>

* perbaikan slider contoh data awal (#767)

* perbaikan tombol pada kolom aksi halaman regulasi (#768)

* perbaikan validasi tambah/ubah pada modul dokumen (#770)

* perbaikan keamanan modul bantuan (#775)

* perbaikan breadcrumb pada halaman regulasi (#771)

* perbaikan breadcrumb pada halaman admin potensi (#772)

* perbaikan breadcrumb pada halaman admin event (#790)

* pembatasan input element HTML (#787)

* perbaikan breadcrumb pada halaman admin artikel (#791)

* perbaikan breadcrumb pada halaman admin FAQ (#792)

* perbaikan kemanan modul desa (#777)

* perbaikan kemanan modul desa (#778)

* perbaikan notifikasi saat akses modul info sistem (#769)

* perbaikan validasi modul admin sinergi program (#789)

* pembatasan akses filemanager (#788)

* pembatasan info sistem hanya untuk superadmin (#804)

* penyesuaian .gitattributes (#783)

* perbaikan penamaan file models LogTte (#785)

* pengahapusan variabel yang tidak digunakan (#795)

* perbaikan migrasi rollback untuk tabel user (#806)

* perbaikan migrasi rollback untuk tabel  das_data_umum (#808)

* perbaikan migrasi rollback untuk tabel  das_pembangunan_dokumentasi (#810)

* penghapusan package nesbot/carbon (#815)

* naikkan versi aplikasi

* tambahkan opensid.my.id

* Rilis 2309.0.0

* Fix styling

---------

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Afila <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Suyadi <[email protected]>
Co-authored-by: apidong <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: andifahruddinakas <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>
Co-authored-by: ahmad afandi <[email protected]>
Co-authored-by: Agung Sugiarto <[email protected]>
Co-authored-by: agungsugiarto <[email protected]>
Co-authored-by: Toto <[email protected]>
  • Loading branch information
15 people authored Sep 1, 2023
1 parent e04a271 commit dbdcbbb
Show file tree
Hide file tree
Showing 65 changed files with 306 additions and 220 deletions.
14 changes: 13 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,16 @@
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore

/.docker export-ignore
/.git* export-ignore
/stubs export-ignore
/tests export-ignore
/.all-contributorsrc export-ignore
/Agent export-ignore
/docker-compose.yml export-ignore
/package.json export-ignore
/phpcs.xml export-ignore
/.php-cs-fixer.php export-ignore
/phpunit.xml export-ignore
/webpack.mix.js export-ignore
6 changes: 3 additions & 3 deletions app/Http/Controllers/Api/PesanController.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function store(PesanRequest $request)
}
}

return response()->json(['result'=>'unknow method']);
return response()->json(['result' => 'unknow method']);
}

public function getpesan(GetPesanRequest $request)
Expand All @@ -111,7 +111,7 @@ public function getpesan(GetPesanRequest $request)
->orWhere('diarsipkan', 1)
->get();

return response()->json(['status' => true, 'data'=>$pesan]);
return response()->json(['status' => true, 'data' => $pesan]);
}

public function detail(Request $request)
Expand All @@ -122,7 +122,7 @@ public function detail(Request $request)
->where('id', '=', $pesan_id)
->first();

return response()->json(['status' => true, 'data'=>$pesan]);
return response()->json(['status' => true, 'data' => $pesan]);
}
return response()->json(['status' => true, 'message' => 'Tidak ada Pesan untuk ditampilkan' ]);
}
Expand Down
25 changes: 0 additions & 25 deletions app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,31 +126,6 @@ public function __construct()
$pengurus = Pengurus::status()->get();
$slides = Slide::orderBy('created_at', 'DESC')->get();

if (count($slides) < 1) {
$slides = collect([
(object) [
'judul' => 'Pantai Garassikang',
'deskripsi' => 'Lokasi: Bulu Jaya, Kecamatan Bangkala Barat, Kabupaten Jeneponto, Sulawesi Selatan',
'gambar' => '/slide/slide-1.png',
],
(object) [
'judul' => 'Batu Siping',
'deskripsi' => 'Lokasi: Karampuang, Desa Garassikang, Kecamatan Bangkala Barat, Kabupaten Jeneponto, Sulawesi Selatan',
'gambar' => '/slide/slide-2.png',
],
(object) [
'judul' => 'Bukit Sinalu Bulu Jaya',
'deskripsi' => 'Lokasi: Bulu Jaya, Kecamatan Bangkala Barat, Kabupaten Jeneponto, Sulawesi Selatan',
'gambar' => '/slide/slide-3.png',
],
(object) [
'judul' => 'Pantai Tamarunang',
'deskripsi' => 'Lokasi: Tamarunang, Pabiringa, Kecamatan Binamu, Kabupaten Jeneponto, Sulawesi Selatan',
'gambar' => '/slide/slide-4.png',
],
]);
}

View::share([
'profil' => $this->profil,
'sebutan_wilayah' => $this->sebutan_wilayah,
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Data/AdminKomplainController.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ protected function getChartStatus()
$data_chart = [];
$status = ['REVIEW', 'DITOLAK', 'BELUM', 'PROSES', 'SELESAI'];
$colors = ['REVIEW' => '#f4f4f4', 'DITOLAK' => '#c9302c', 'BELUM' => '#286090', 'PROSES' => '#ec971f', 'SELESAI' => '#00a65a'];
foreach ($status as $key => $value) {
foreach ($status as $value) {
$query_total = DB::table('das_komplain')
->where('status', '=', $value);
$total = $query_total->count();
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Data/DataDesaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ public function getDataDesa()
return view('forms.aksi', $data);
})
->editColumn('website', function ($row) {
return '<a href="' . $row->website . '" target="_blank">' . $row->website . '</a>';
return '<a href="' . htmlentities($row->website) . '" target="_blank">' . htmlentities($row->website) . '</a>';
})
->rawColumns(['website', 'aksi'])->make();
}

public function getDataDesaAjax(Request $request)
{
if ($request->ajax()) {
return response()->json(['data'=> DataDesa::get()]);
return response()->json(['data' => DataDesa::get()]);
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Data/DataUmumController.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public function update(Request $request, $id)
public function getDataUmumAjax(Request $request)
{
if ($request->ajax()) {
return response()->json(['data'=> DataUmum::with('profil')->first()]);
return response()->json(['data' => DataUmum::with('profil')->first()]);
}
}

Expand Down
15 changes: 12 additions & 3 deletions app/Http/Controllers/Informasi/ArtikelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ class ArtikelController extends Controller
{
public function index()
{
return view('informasi.artikel.index');
$page_title = 'Artikel';
$page_description = 'Daftar Artikel';

return view('informasi.artikel.index', compact('page_title', 'page_description'));
}

public function getDataArtikel(Request $request)
Expand Down Expand Up @@ -76,7 +79,10 @@ public function getDataArtikel(Request $request)

public function create()
{
return view('informasi.artikel.create');
$page_title = 'Artikel';
$page_description = 'Tambah Artikel';

return view('informasi.artikel.create', compact('page_title', 'page_description'));
}

public function store(ArtikelRequest $request)
Expand All @@ -101,7 +107,10 @@ public function store(ArtikelRequest $request)

public function edit(Artikel $artikel)
{
return view('informasi.artikel.edit', compact('artikel'));
$page_title = 'Artikel';
$page_description = 'Ubah Artikel';

return view('informasi.artikel.edit', compact('artikel', 'page_title', 'page_description'));
}

public function update(ArtikelRequest $request, Artikel $artikel)
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Informasi/EventController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function index()
public function create()
{
$page_title = 'Event';
$page_description = 'Tambah Data';
$page_description = 'Tambah Event';

return view('informasi.event.create', compact('page_title', 'page_description'));
}
Expand All @@ -72,7 +72,7 @@ public function store(EventRequest $request)
public function edit(Event $event)
{
$page_title = 'Event';
$page_description = 'Ubah Data';
$page_description = 'Ubah Event';

return view('informasi.event.edit', compact('page_title', 'page_description', 'event'));
}
Expand Down
7 changes: 5 additions & 2 deletions app/Http/Controllers/Informasi/FaqController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ class FaqController extends Controller
*/
public function index()
{
return view('informasi.faq.index');
$page_title = 'FAQ';
$page_description = 'Daftar FAQ';

return view('informasi.faq.index', compact('page_title', 'page_description'));
}

public function getDataFaq(Request $request)
Expand Down Expand Up @@ -123,7 +126,7 @@ public function edit($id)
{
$faq = Faq::findOrFail($id);
$page_title = 'FAQ';
$page_description = 'Ubah FAQ : ' . $faq->question;
$page_description = 'Ubah FAQ';

return view('informasi.faq.edit', compact('page_title', 'page_description', 'faq'));
}
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Informasi/FormDokumenController.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function store(DokumenRequest $request)
FormDokumen::create($input);
} catch (\Exception $e) {
report($e);
return back()->with('error', 'Dokumen gagal disimpan!');
return back()->withInput()->with('error', 'Dokumen gagal disimpan!');
}

return redirect()->route('informasi.form-dokumen.index')->with('success', 'Dokumen berhasil ditambah!');
Expand Down Expand Up @@ -118,7 +118,7 @@ public function update(DokumenRequest $request, FormDokumen $dokumen)
$dokumen->update($input);
} catch (\Exception $e) {
report($e);
return back()->with('error', 'Dokumen gagal diubah!');
return back()->withInput()->with('error', 'Dokumen gagal diubah!');
}

return redirect()->route('informasi.form-dokumen.index')->with('success', 'Dokumen berhasil diubah!');
Expand Down
6 changes: 3 additions & 3 deletions app/Http/Controllers/Informasi/PotensiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function create()
$page_title = 'Potensi';
$page_description = 'Tambah Potensi';

return view('informasi.potensi.create', compact('page_title'));
return view('informasi.potensi.create', compact('page_title', 'page_description'));
}

public function store(PotensiRequest $request)
Expand Down Expand Up @@ -97,15 +97,15 @@ public function store(PotensiRequest $request)
public function show(Potensi $potensi)
{
$page_title = 'Potensi';
$page_description = 'Potensi : ' . $potensi->nama_potensi;
$page_description = 'Detail Potensi';

return view('informasi.potensi.show', compact('page_title', 'page_description', 'potensi'));
}

public function edit(Potensi $potensi)
{
$page_title = 'Potensi';
$page_description = 'Ubah Potensi : ' . $potensi->nama_potensi;
$page_description = 'Ubah Potensi';

return view('informasi.potensi.edit', compact('page_title', 'page_description', 'potensi'));
}
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Informasi/RegulasiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ public function store(RegulasiRequest $request)
public function show(Regulasi $regulasi)
{
$page_title = "Regulasi";
$page_description = "Detail Regulasi : " . $page_title;
$page_description = "Detail Regulasi";

return view('informasi.regulasi.show', compact('page_title', 'page_description', 'regulasi'));
}

public function edit(Regulasi $regulasi)
{
$page_title = 'Regulasi';
$page_description = 'Ubah Regulasi : ' . $regulasi->judul;
$page_description = 'Ubah Regulasi';

return view('informasi.regulasi.edit', compact('page_title', 'page_description', 'regulasi'));
}
Expand Down
17 changes: 9 additions & 8 deletions app/Http/Controllers/LogViewerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
use Illuminate\Support\Facades\Crypt;
use RachidLaasri\LaravelInstaller\Helpers\RequirementsChecker;
use Rap2hpoutre\LaravelLogViewer\LaravelLogViewer;
use Symfony\Component\HttpFoundation\Response;

/**
* Class LogViewerController
Expand Down Expand Up @@ -198,16 +199,16 @@ public function queueListen()
{
try {
Artisan::call('queue:work', ['--stop-when-empty' => null]); // this will do the command line job

return response()->json([
'status' => true,
'message' => 'success',
]);
} catch (\Exception $e) {
report($e);

return response()->json([
'status' => true,
'message' => $e->getMessage(),
]);
'error' => $e->getMessage()
], Response::HTTP_INTERNAL_SERVER_ERROR);
}

return response()->json([
'success' => true,
], Response::HTTP_OK);
}
}
24 changes: 12 additions & 12 deletions app/Http/Controllers/Page/KependudukanController.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,28 +101,28 @@ protected function createDashboardKependudukan($did, $year)
$query_total_penduduk_aktif = $this->penduduk->getPendudukAktif($did, $year);

$total_penduduk = (clone $query_total_penduduk_aktif)->count();
$data['total_penduduk'] = format_number_id($total_penduduk);
$data['total_penduduk'] = $total_penduduk;

// Get Total Laki-Laki
$total_laki_laki = (clone $query_total_penduduk_aktif)
->where('sex', 1)
->count();

$data['total_lakilaki'] = format_number_id($total_laki_laki);
$data['total_lakilaki'] = $total_laki_laki;

// Get Total Perempuan
$total_perempuan = (clone $query_total_penduduk_aktif)
->where('sex', 2)
->count();

$data['total_perempuan'] = format_number_id($total_perempuan);
$data['total_perempuan'] = $total_perempuan;

// Get Total Disabilitas
$total_disabilitas = (clone $query_total_penduduk_aktif)
->where('cacat_id', '<>', 7)
->count();

$data['total_disabilitas'] = format_number_id($total_disabilitas);
$data['total_disabilitas'] = $total_disabilitas;

if ($total_penduduk == 0) {
$data['ktp_wajib'] = 0;
Expand All @@ -148,8 +148,8 @@ protected function createDashboardKependudukan($did, $year)

$ktp_persen_terpenuhi = ($ktp_terpenuhi / $ktp_wajib) * 100;

$data['ktp_wajib'] = format_number_id($ktp_wajib);
$data['ktp_terpenuhi'] = format_number_id($ktp_terpenuhi);
$data['ktp_wajib'] = $ktp_wajib;
$data['ktp_terpenuhi'] = $ktp_terpenuhi;
$data['ktp_persen_terpenuhi'] = format_number_id($ktp_persen_terpenuhi);

// Get Data Akta Penduduk Terpenuhi
Expand All @@ -160,7 +160,7 @@ protected function createDashboardKependudukan($did, $year)
->count();

$akta_persen_terpenuhi = ($akta_terpenuhi / $total_penduduk) * 100;
$data['akta_terpenuhi'] = format_number_id($akta_terpenuhi);
$data['akta_terpenuhi'] = $akta_terpenuhi;
$data['akta_persen_terpenuhi'] = format_number_id($akta_persen_terpenuhi);

// Get Data Akta Nikah Penduduk Terpenuhi
Expand All @@ -174,13 +174,13 @@ protected function createDashboardKependudukan($did, $year)
->where('akta_perkawinan', '<>', '-')
->count();

$data['aktanikah_wajib'] = format_number_id(0);
$data['aktanikah_terpenuhi'] = format_number_id(0);
$data['aktanikah_wajib'] = 0;
$data['aktanikah_terpenuhi'] = 0;
$data['aktanikah_persen_terpenuhi'] = format_number_id(0);
if ($aktanikah_wajib != 0) {
$aktanikah_persen_terpenuhi = ($aktanikah_terpenuhi / $aktanikah_wajib) * 100;
$data['aktanikah_wajib'] = format_number_id($aktanikah_wajib);
$data['aktanikah_terpenuhi'] = format_number_id($aktanikah_terpenuhi);
$data['aktanikah_wajib'] = $aktanikah_wajib;
$data['aktanikah_terpenuhi'] = $aktanikah_terpenuhi;
$data['aktanikah_persen_terpenuhi'] = format_number_id($aktanikah_persen_terpenuhi);
}
}
Expand Down Expand Up @@ -332,7 +332,7 @@ public function getChartPendudukAgama()
$agama = DB::table('ref_agama')->orderBy('id')->get();
$colors = [1 => '#dcaf1e', 2 => '#dc9f1e', 3 => '#dc8f1e', 4 => '#dc7f1e', 5 => '#dc6f1e', 6 => '#dc5f1e', 7 => '#dc4f1e'];
foreach ($agama as $val) {
$total =$this->penduduk->getPendudukAktif($did, $year)
$total = $this->penduduk->getPendudukAktif($did, $year)
->where('agama_id', $val->id)
->count();

Expand Down
4 changes: 1 addition & 3 deletions app/Http/Controllers/Pesan/PesanController.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class PesanController extends Controller
{
public function index(Request $request)
{
$flag_include_arsip = false;
$data = collect([]);
$data->put('page_title', 'Pesan');
$data->put('desa_id', null);
Expand Down Expand Up @@ -96,7 +95,6 @@ protected function loadCounter()

public function loadPesanKeluar(Request $request)
{
$flag_include_arsip = false;
$data = collect([]);
$data->put('desa_id', null);
$data->put('search_query', '');
Expand Down Expand Up @@ -156,7 +154,7 @@ public function loadPesanArsip(Request $request)
public function readPesan($id_pesan)
{
$pesan = Pesan::findOrFail($id_pesan);
if ($pesan->sudah_dibaca === Pesan::BELUM_DIBACA) {
if ($pesan->sudah_dibaca == Pesan::BELUM_DIBACA) {
$pesan->sudah_dibaca = Pesan::SUDAH_DIBACA;
$pesan->save();
}
Expand Down
1 change: 1 addition & 0 deletions app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ class Kernel extends HttpKernel
'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class,
'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class,
'role_or_permission' => \Spatie\Permission\Middlewares\RoleOrPermissionMiddleware::class,
'xss_sanitization' => \App\Http\Middleware\XssSanitization::class,
];

/**
Expand Down
Loading

0 comments on commit dbdcbbb

Please sign in to comment.