From d5d3811e683dcbe8baf1944df31a596759807cf9 Mon Sep 17 00:00:00 2001 From: rahmatrafli1 Date: Thu, 10 Oct 2024 10:50:58 +0700 Subject: [PATCH 1/4] Menambahkan Sub Menu Jenis Laporan pada Menu Basic Data --- module.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/module.json b/module.json index 0349958..b544b90 100644 --- a/module.json +++ b/module.json @@ -308,6 +308,14 @@ "permission": "", "roles": ["Administrator", "admin"] }, + { + "title": "Jenis Laporan", + "path": "basicdata.jenis_laporan", + "classes": "", + "attributes": [], + "permission": "", + "roles": ["Administrator", "admin"] + }, { "title": "Tujuan Penilaian KJPP", "path": "basicdata.tujuan_penilaian_kjpp", From cb540a52d533c947f2e64e92b7a6bdc5333d2d52 Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Sun, 13 Oct 2024 05:39:28 +0700 Subject: [PATCH 2/4] Remove CDN SweetAlert --- resources/views/Ijin_usaha/index.blade.php | 1 - resources/views/arah_mata_angin/index.blade.php | 1 - resources/views/authorization/index.blade.php | 1 - resources/views/branch/index.blade.php | 1 - resources/views/currency/index.blade.php | 1 - resources/views/debitur/components/jaminan.blade.php | 1 - resources/views/debitur/components/pemilik.blade.php | 3 +-- resources/views/debitur/index.blade.php | 1 - resources/views/hubungan_pemilik_jaminan/index.blade.php | 1 - resources/views/hubungan_penghuni_jaminan/index.blade.php | 1 - resources/views/jenis_aset/index.blade.php | 1 - resources/views/jenis_dokumen/index.blade.php | 1 - resources/views/jenis_fasilitas_kredit/index.blade.php | 1 - resources/views/jenis_jaminan/index.blade.php | 1 - resources/views/jenis_laporan/index.blade.php | 1 - resources/views/jenis_legalitas_jaminan/index.blade.php | 1 - resources/views/jenis_penilaian/index.blade.php | 1 - resources/views/kjpp/index.blade.php | 1 - resources/views/nilai_plafond/index.blade.php | 1 - resources/views/penawaran/index.blade.php | 1 - resources/views/penawaran_ulang/index.blade.php | 1 - resources/views/penilaian/index.blade.php | 1 - resources/views/penilaian/otorisator/index.blade.php | 1 - resources/views/permohonan/authorization/index.blade.php | 1 - resources/views/permohonan/create.blade.php | 1 - resources/views/permohonan/index.blade.php | 1 - resources/views/region/index.blade.php | 1 - resources/views/status_permohonan/index.blade.php | 1 - resources/views/teams/index.blade.php | 1 - resources/views/tujuan_penilaian/index.blade.php | 1 - resources/views/tujuan_penilaian_kjpp/index.blade.php | 1 - 31 files changed, 1 insertion(+), 32 deletions(-) diff --git a/resources/views/Ijin_usaha/index.blade.php b/resources/views/Ijin_usaha/index.blade.php index 2d225d5..f3c7564 100644 --- a/resources/views/Ijin_usaha/index.blade.php +++ b/resources/views/Ijin_usaha/index.blade.php @@ -68,7 +68,6 @@ @endsection @push('scripts') - - \ No newline at end of file + From 6dc923776b0430d1af31df2198e50b5ddb0b045e Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Tue, 15 Oct 2024 22:05:51 +0700 Subject: [PATCH 4/4] Add Lpj Helper, penambahan function formatAlamat - Fix Pengambilan Alamat pada Module Detail Dokumen dan Jaminan agar terstandarisasi --- app/Helpers/Lpj.php | 10 +++ module.json | 4 +- resources/views/assetsku/includenya.blade.php | 2 +- .../debitur/components/dokumen.blade.php | 72 ++++++++++--------- .../debitur/components/jaminan.blade.php | 2 +- 5 files changed, 53 insertions(+), 37 deletions(-) create mode 100644 app/Helpers/Lpj.php diff --git a/app/Helpers/Lpj.php b/app/Helpers/Lpj.php new file mode 100644 index 0000000..2d2a379 --- /dev/null +++ b/app/Helpers/Lpj.php @@ -0,0 +1,10 @@ +address ? $alamat->address . ', ' : '') . + (isset($alamat->village) ? $alamat->village->name.', ' : '') . + (isset($alamat->city) ? $alamat->city->name.', ' : '') . + (isset($alamat->province) ? $alamat->province->name.', ' : '') . + ($alamat->postal_code ?? ''); + } diff --git a/module.json b/module.json index 7b033cf..48cb483 100644 --- a/module.json +++ b/module.json @@ -6,7 +6,9 @@ "keywords": [], "priority": 0, "providers": ["Modules\\Lpj\\Providers\\LpjServiceProvider"], - "files": [], + "files": [ + "app/Helpers/Lpj.php" + ], "menu": { "main": [ { diff --git a/resources/views/assetsku/includenya.blade.php b/resources/views/assetsku/includenya.blade.php index efbdfbf..f646e05 100644 --- a/resources/views/assetsku/includenya.blade.php +++ b/resources/views/assetsku/includenya.blade.php @@ -1,4 +1,4 @@ -