Skip to content

Commit

Permalink
Rilis 2405.0.0 (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
vickyrolanda authored May 6, 2024
2 parents b5abd5f + 22a2099 commit d77bd6e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/Helpers/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/
function pantau_versi()
{
return 'v2404.0.0';
return 'v2405.0.0';
}
}

Expand Down
7 changes: 7 additions & 0 deletions app/Http/Controllers/Admin/Wilayah/KecamatanController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ public function store(RegionKecamatanRequest $request)
$input = $request->all();

if (Region::create($input)) {
$inputchild = [
'region_code' => $input['region_code'].'.0000',
'parent_code' => $input['region_code'],
'deleted_at' => date('Y-m-d H:i:s'),
];
Region::create($inputchild);

return redirect('kecamatan')->with('success', 'Data berhasil disimpan');
}

Expand Down
10 changes: 2 additions & 8 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@ Di rilis v2401.0.0 berisi perbaikan yang diminta Komunitas Open Desa.

#### Penambahan Fitur

1. [#252](https://github.com/OpenSID/pantau/issues/252) Penambahan API pantau untuk jumlah penggunaan aplikasi KelolaDesa.
2. [#280](https://github.com/OpenSID/pantau/issues/280) Penambahan daftar jumlah yang telah install KelolaDesa pada halaman public.
3. [#281](https://github.com/OpenSID/pantau/issues/281) Penambahan daftar jumlah yang telah install KelolaDesa pada halaman admin.

#### Perbaikan Bug
1. [#254](https://github.com/OpenSID/pantau/issues/254) Gagal backup otomatis berulang terjadi.

1. [#263](https://github.com/OpenSID/pantau/issues/263) Kecamatan baru tidak terdeteksi pada menu edit data desa.

#### Penyesuaian Teknis
1. [#260](https://github.com/OpenSID/pantau/issues/260) Sesuaikan tulisan "Dashboard" menjadi "Dasbor" & text ingris lainnya pada semua tampilan dan laporan.
2. [#257](https://github.com/OpenSID/pantau/issues/257) Ubah semua perintah pada console cronjob tracksid menjadi pantau.
3. [#256](https://github.com/OpenSID/pantau/issues/256) Pembaharuan versi laravel ke laravel 9.
10 changes: 8 additions & 2 deletions resources/views/admin/wilayah/desa/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,16 @@ function list_kabupaten() {
}
function list_kecamatan() {
var getkab = $('#list_kabupaten').val();
var getkodekab = '{!!$desa->kode_kabupaten!!}';
var getnamakab = '{!!$desa->nama_kabupaten!!}';
if(getkab == getnamakab){
var getkab = getkodekab;
}
$('#list_kecamatan').select2({
ajax: {
url: host + '?token=' + token + '&kode=' + $('#list_kabupaten')
.val(),
url: host + '?token=' + token + '&kode=' + getkab,
dataType: 'json',
delay: 400,
data: function(params) {
Expand Down

0 comments on commit d77bd6e

Please sign in to comment.